home *** CD-ROM | disk | FTP | other *** search
/ PC-Blue - MS DOS Public Domain Library / PC-Blue MS-DOS Public Domain Library - NYACC.iso / vol399 / olref.arc / DOSHELP.ORD < prev    next >
Encoding:
Text File  |  1987-10-17  |  147.0 KB  |  1,915 lines

  1. @@CONVENTIONS USED IN THIS FILE,  TRADEMARK ACKNOWLEDGEMENTS
  2. $$
  3. ╔══════════════════════════════════════════════════════════════════════════════╗
  4. ║  NOTATION CONVENTIONS:                                                       ║
  5. ║                                                                              ║
  6. ║          []           Square brackets surround an entry that is optional.    ║
  7. ║                                                                              ║
  8. ║          {}           Braces  surround an entry that is not optional. You    ║
  9. ║                       must make an entry for such items.                     ║
  10. ║                                                                              ║
  11. ║          d:           represents a drive designator letter (example  A:)     ║
  12. ║                                                                              ║
  13. ║          filename     is any valid DOS file name. ( 1 to 8 characters )      ║
  14. ║                                                                              ║
  15. ║          filespec     is a complete DOS file specification including a drive ║
  16. ║                       designator, path, filename, and extension. If any of   ║
  17. ║                       these are missing, the default is assumed.             ║
  18. ║                                                                              ║
  19. ║          .ext         is any valid DOS filemane extension (1 to 3 characters)║
  20. ║                                                                              ║
  21. ║          path         is a subdirectory name or a series of nested           ║
  22. ║                       subdirectory names. (example \directory\directory\..)  ║
  23. ║                                                                              ║
  24. ║          parameters   are options to DOS commands, and are preceded by a /   ║
  25. ║                                                                              ║
  26. ╠══════════════════════════════════════════════════════════════════════════════╣
  27. ║                                                                              ║
  28. ║  TRADEMARK ACKNOWLEDGEMENTS:                                                 ║
  29. ║                                                                              ║
  30. ║            MS DOS, EDLIN, and DEBUG are trademarks of Microsoft Corporation  ║
  31. ║                                                                              ║
  32. ║            PC DOS is a trademark of International Business Corporation (IBM) ║
  33. ║                                                                              ║
  34. ╠══════════════════════════════════════════════════════════════════════════════╣
  35. ║                                                                              ║
  36. ║  While every attempt has been made to assure the accuracy and completeness   ║
  37. ║  of the information in this on line reference guide, inaccuracies or         ║
  38. ║  inconsistencies may be contained herein. Smartware will not be held         ║
  39. ║  responsible for the material herein, or any losses resulting from its use.  ║
  40. ║                                                                              ║
  41. ║  Due to variations in versions of DOS that are available for the many PC -   ║
  42. ║  compatible machines, we strongly suggest that you consult the documantation ║
  43. ║  that came with your computer to resolve any discrepancies with the          ║
  44. ║  information herein, and for any critical applications.                      ║
  45. ╚══════════════════════════════════════════════════════════════════════════════╝
  46.  
  47. @@ADDCRT         - Load support for high resolution monitor
  48. $$
  49. ╔══════════════════════════════════════════════════════════════════════════════╗
  50. ║ COMMAND  : ADDCRT                                                            ║
  51. ╠══════════════════════════════════════════════════════════════════════════════╣
  52. ║ TYPE     : External                                                          ║
  53. ╟──────────────────────────────────────────────────────────────────────────────╢
  54. ║ SYNTAX   : ADDCRT                                                            ║
  55. ╟──────────────────────────────────────────────────────────────────────────────╢
  56. ║ FUNCTION : Instructs DOS to load BIOS support for a high resolution          ║
  57. ║            monitor                                                           ║
  58. ╟──────────────────────────────────────────────────────────────────────────────╢
  59. ║ EXAMPLE  :                                                                   ║
  60. ║            A>ADDCRT                                                          ║
  61. ╟──────────────────────────────────────────────────────────────────────────────╢
  62. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  63. ╚══════════════════════════════════════════════════════════════════════════════╝
  64. @@ADRS232C       - Place COM port in RS232C mode
  65. $$
  66. ╔══════════════════════════════════════════════════════════════════════════════╗
  67. ║ COMMAND  : ADRS232C                                                          ║
  68. ╠══════════════════════════════════════════════════════════════════════════════╣
  69. ║ TYPE     : External                                                          ║
  70. ╟──────────────────────────────────────────────────────────────────────────────╢
  71. ║ SYNTAX   : ADRS232C {port designation}                                       ║
  72. ╟──────────────────────────────────────────────────────────────────────────────╢
  73. ║ FUNCTION : Places the designated COM port in advanced RS232C mode, which     ║
  74. ║            allows XON/XOFF handshaking.                                      ║
  75. ╟──────────────────────────────────────────────────────────────────────────────╢
  76. ║ COMMENTS : Port designation is as follows:                                   ║
  77. ║             0 - COM1, 1 - COM2                                               ║
  78. ║                                                                              ║
  79. ║            ADRS232C stays resident, and is only removed by rebooting.        ║
  80. ║            Additional loadings consume additional memory                     ║
  81. ╟──────────────────────────────────────────────────────────────────────────────╢
  82. ║ EXAMPLE  : A>ADRS232C 1                                                      ║
  83. ║              installs XON/XOFF handshaking for COM2                          ║
  84. ╟──────────────────────────────────────────────────────────────────────────────╢
  85. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  86. ╚══════════════════════════════════════════════════════════════════════════════╝
  87. @@ASSIGN         - Redirect disk access
  88. $$
  89. ╔══════════════════════════════════════════════════════════════════════════════╗
  90. ║ COMMAND  : ASSIGN                                                            ║
  91. ╠══════════════════════════════════════════════════════════════════════════════╣
  92. ║ TYPE     : External                                                          ║
  93. ╟──────────────────────────────────────────────────────────────────────────────╢
  94. ║ SYNTAX   : ASSIGN {x} = {y}                                                  ║
  95. ╟──────────────────────────────────────────────────────────────────────────────╢
  96. ║ FUNCTION : Redirects requests for an already specified disk drive to a       ║
  97. ║            different drive.                                                  ║
  98. ╟──────────────────────────────────────────────────────────────────────────────╢
  99. ║ COMMENTS : ASSIGN stays in effect until cancelled or until the system        ║
  100. ║            is rebooted.                                                      ║
  101. ║                                                                              ║
  102. ║            An ASSIGN statement cancels any previous ASSIGNs.                 ║
  103. ╟──────────────────────────────────────────────────────────────────────────────╢
  104. ║ EXAMPLE  : A>ASSIGN A=B       redirects any request for drive A to drive B   ║
  105. ║                                                                              ║
  106. ║            A>ASSIGN A=B C=B   redirects requests for either A or C to B      ║
  107. ║                                                                              ║
  108. ║            A>ASSIGN           cancels any existing ASSIGNment                ║
  109. ╟──────────────────────────────────────────────────────────────────────────────╢
  110. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  111. ╚══════════════════════════════════════════════════════════════════════════════╝
  112. @@ATTRIB         - Set file attributes
  113. $$
  114. ╔══════════════════════════════════════════════════════════════════════════════╗
  115. ║ COMMAND  : ATTRIB                                                            ║
  116. ╠══════════════════════════════════════════════════════════════════════════════╣
  117. ║ TYPE     : External                                                          ║
  118. ╟──────────────────────────────────────────────────────────────────────────────╢
  119. ║ SYNTAX   : ATTRIB [+R/-R] Filename                                           ║
  120. ╟──────────────────────────────────────────────────────────────────────────────╢
  121. ║ FUNCTION : Displays or sets file attributes for the specified file           ║
  122. ╟──────────────────────────────────────────────────────────────────────────────╢
  123. ║ COMMENTS : Filename can be a complete file name                              ║
  124. ║            (D:\Path\Filename.Ext). Defaults to the current                   ║
  125. ║            drive and directory if not specified.                             ║
  126. ║                                                                              ║
  127. ║            +R sets the file attribute to read only. -R cancels the           ║
  128. ║            read only attribute to allow the file to be changed or            ║
  129. ║            deleted.                                                          ║
  130. ║                                                                              ║
  131. ╟──────────────────────────────────────────────────────────────────────────────╢
  132. ║ EXAMPLE  : A>ATTRIB +R A:MYFILE.DOC   ;makes myfile.doc read only            ║
  133. ╟──────────────────────────────────────────────────────────────────────────────╢
  134. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  135. ╚══════════════════════════════════════════════════════════════════════════════╝
  136. @@BACKUP         - Back up files
  137. $$
  138. ╔══════════════════════════════════════════════════════════════════════════════╗
  139. ║ COMMAND  : BACKUP                                                            ║
  140. ╠══════════════════════════════════════════════════════════════════════════════╣
  141. ║ TYPE     : External                                                          ║
  142. ╟──────────────────────────────────────────────────────────────────────────────╢
  143. ║ SYNTAX   : BACKUP [Filespec] [Destination Drive] [Parameters]                ║
  144. ╟──────────────────────────────────────────────────────────────────────────────╢
  145. ║ FUNCTION : Copies files from one drive to another in a compressed format.    ║
  146. ╟──────────────────────────────────────────────────────────────────────────────╢
  147. ║ COMMENTS : Filespec identifies the file(s) to be backed up. Can be as        ║
  148. ║            general as a drive name, or as specific as one file in a          ║
  149. ║            subdirectory.                                                     ║
  150. ║                                                                              ║
  151. ║            Files that have been BACKedUP are stored in a compressed          ║
  152. ║            format and are therefore unusable in their backed up state.       ║
  153. ║            Use the DOS Function RESTORE to retrieve files from an archive.   ║
  154. ║                                                                              ║
  155. ║            Exit (error) codes are set on exit from BACKUP as follows:        ║
  156. ║                                                                              ║
  157. ║             0 - Normal Completion                                            ║
  158. ║             1 - No files matching filespec (or /S parameter) were found      ║
  159. ║                 to back up                                                   ║
  160. ║             3 - Terminated by user (Ctrl Break)                              ║
  161. ║             4 - Terminated due to error                                      ║
  162. ║             These exit codes can be tested in a batch file with the          ║
  163. ║             IF subcommand.                                                   ║
  164. ╟──────────────────────────────────────────────────────────────────────────────╢
  165. ║ PARAMETERS : /S  Causes all files in the current directory AND ALL           ║
  166. ║                  subdirectories to be backed up.                             ║
  167. ║                                                                              ║
  168. ║              /M  Causes only files that have been modified since the last    ║
  169. ║                  back up to be backed up.                                    ║
  170. ║                                                                              ║
  171. ║              /A  Causes BACKUP to append backup files to the files already   ║
  172. ║                  on the destination drive. If /A is not specified, all       ║
  173. ║                  existing files on the destination drive will be erased.     ║
  174. ║                  Also, if /A is used, BACKUP will begin the back up without  ║
  175. ║                  prompting you to insert a disk in the destination drive.    ║
  176. ║                                                                              ║
  177. ║              /P  Pack as many files as possible onto each diskette. If       ║
  178. ║                  necessary, create a subdirectory if that is the only way    ║
  179. ║                  to fill the diskette.                                       ║
  180. ║                                                                              ║
  181. ║              /D  Specifies that only files written or modified since the     ║
  182. ║                  date given are to be backed up.                             ║
  183. ║                  Format is /D:mm-dd-yy                                       ║
  184. ║                                                                              ║
  185. ║              /T  Specifies that only files written or modified since the     ║
  186. ║                  time given are to be backed up.                             ║
  187. ║                  Format is /T:hh:mm:ss. Note that /T must be used with       ║
  188. ║                  the /D date parameter.                                      ║
  189. ║                                                                              ║
  190. ║              /L  Create a log file on the source drive unless otherwise      ║
  191. ║                  specified. Log contains the date and time of the backup,    ║
  192. ║                  and a list of all file names backed up, along with the      ║
  193. ║                  number of the backup disk on which the file was placed.     ║
  194. ╟──────────────────────────────────────────────────────────────────────────────╢
  195. ║ EXAMPLE  : BACKUP C:MYFILES.* A:  ;backs up all files on C: with the name    ║
  196. ║                                    MYFILES and any extension.                ║
  197. ╟──────────────────────────────────────────────────────────────────────────────╢
  198. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  199. ║                Contains enhanced features available only with MS DOS 3.1 and ║
  200. ║                PC DOS 3.1 and higher.                                        ║
  201. ╚══════════════════════════════════════════════════════════════════════════════╝
  202. @@BREAK          - Disable/enable CTRL C
  203. $$
  204. ╔══════════════════════════════════════════════════════════════════════════════╗
  205. ║ COMMAND  : BREAK                                                             ║
  206. ╠══════════════════════════════════════════════════════════════════════════════╣
  207. ║ TYPE     : Internal                                                          ║
  208. ╟──────────────────────────────────────────────────────────────────────────────╢
  209. ║ SYNTAX   : BREAK ON / OFF                                                    ║
  210. ╟──────────────────────────────────────────────────────────────────────────────╢
  211. ║ FUNCTION : Sets Cntrl C check                                                ║
  212. ╟──────────────────────────────────────────────────────────────────────────────╢
  213. ║ COMMENTS : If an application program uses Ctrl C this command can be used    ║
  214. ║            to turn off the DOS Ctrl C so that the Ctrl C will not be         ║
  215. ║            trapped by DOS, and will be passed to the application program.    ║
  216. ║            BREAK OFF disables DOS trapping of Ctrl C and BREAK ON re-enables ║
  217. ║            DOS Ctrl C trapping.                                              ║
  218. ╟──────────────────────────────────────────────────────────────────────────────╢
  219. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  220. ╚══════════════════════════════════════════════════════════════════════════════╝
  221. @@CHDIR          - Change current directory
  222. $$
  223. ╔══════════════════════════════════════════════════════════════════════════════╗
  224. ║ COMMAND  : CHDIR (CD)                                                        ║
  225. ╠══════════════════════════════════════════════════════════════════════════════╣
  226. ║ TYPE     : Internal                                                          ║
  227. ╟──────────────────────────────────────────────────────────────────────────────╢
  228. ║ SYNTAX   :  CHDIR [d:path]                                                   ║
  229. ║             or                                                               ║
  230. ║             CD [d:path]                                                      ║
  231. ╟──────────────────────────────────────────────────────────────────────────────╢
  232. ║ FUNCTION :  Changes directory to a different path if path is given,          ║
  233. ║             or displays current directory if no path is given.               ║
  234. ╟──────────────────────────────────────────────────────────────────────────────╢
  235. ║ COMMENTS :  Use backslash (\) to separate subdirectory names for nested      ║
  236. ║             subdirectories.                                                  ║
  237. ║             Ex: CD\root_dir\subdir\next_lower_dir                            ║
  238. ║                                                                              ║
  239. ║             Use shorthand form:                                              ║
  240. ║                 CD ..                                                        ║
  241. ║             to change to parent directory of current directory.              ║
  242. ╟──────────────────────────────────────────────────────────────────────────────╢
  243. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  244. ╚══════════════════════════════════════════════════════════════════════════════╝
  245. @@CHKDSK         - Check disk
  246. $$
  247. ╔══════════════════════════════════════════════════════════════════════════════╗
  248. ║ COMMAND  : CHKDSK                                                            ║
  249. ╠══════════════════════════════════════════════════════════════════════════════╣
  250. ║ TYPE     : External                                                          ║
  251. ╟──────────────────────────────────────────────────────────────────────────────╢
  252. ║ SYNTAX   : CHKDSK [d:][filename.ext] [parameters]                            ║
  253. ╟──────────────────────────────────────────────────────────────────────────────╢
  254. ║ FUNCTION : Checks the directory of the default (if none specified),          ║
  255. ║            or the specied drive for consistency.                             ║
  256. ╟──────────────────────────────────────────────────────────────────────────────╢
  257. ║ COMMENTS : Checks the disk for directory errors. Also, reports disk size,    ║
  258. ║            number of files, hidden files, bytes used, and bytes free on      ║
  259. ║            the disk, and the number of bytes available in system memory.     ║
  260. ║                                                                              ║
  261. ║            The ouput of CHKDSK can be redirected to a disk file with the     ║
  262. ║            command:                                                          ║
  263. ║                     CHKDSK d: > filename                                     ║
  264. ║            Note that redirection to a file is incompatible with the /F       ║
  265. ║            parameter.                                                        ║
  266. ╟──────────────────────────────────────────────────────────────────────────────╢
  267. ║ PARAMETERS : /F  if given, the system will attempt to correct any errors     ║
  268. ║                   found in the directtory or the File Allocation Table.      ║
  269. ║                                                                              ║
  270. ║               /V  if given, CHKDSK will report progress messages as it is    ║
  271. ║                   running.                                                   ║
  272. ╟──────────────────────────────────────────────────────────────────────────────╢
  273. ║ MESSAGES :  CHKDSK may display any of the following messages:                ║
  274. ║                                                                              ║
  275. ║ MESSAGE                    MEANING                        CORRECTED IF       ║
  276. ║                                                          /F IS INCLUDED?     ║
  277. ║                                                                              ║
  278. ║ All specified files        File(s) specified are written          n/a        ║
  279. ║ are contiguous             sequentially on the disk.                         ║
  280. ║                                                                              ║
  281. ║ Allocation error for       The named file had a data block        Yes        ║
  282. ║ file, size adjusted        allocated to it with a data block                 ║
  283. ║                            larger than largest possible                      ║
  284. ║                            block number. CHKDSK truncates                    ║
  285. ║                            the file short of the bad block.                  ║
  286. ║                                                                              ║
  287. ║ [filename] has invalid     The named file has an invalid          Yes        ║
  288. ║ cluster, file              pointer to the data area. CHKDSK                  ║
  289. ║ truncated                  truncates the file short of the                   ║
  290. ║                            bad block.                                        ║
  291. ║                                                                              ║
  292. ║ [filename] contains n      File is not physically located         No         ║
  293. ║ non contiguous blocks      in sequential blocks on the disk.                 ║
  294. ║                            The result is slightly slower                     ║
  295. ║                            sequential access to the file.                    ║
  296. ║                                                                              ║
  297. ║ MESSAGE                    MEANING                        CORRECTED IF       ║
  298. ║                                                          /F IS INCLUDED?     ║
  299. ║                                                                              ║
  300. ║ Disk error writing         CHKDSK detects an error in updating    Yes        ║
  301. ║ FAT x                      the File Allocation Table. X refers               ║
  302. ║                            to copies 1 or 2 of the FAT. If this              ║
  303. ║                            error appears twice, once for each                ║
  304. ║                            copy of the FAT, the disk should be               ║
  305. ║                            considered unusable (Floppy diskettes)            ║
  306. ║                                                                              ║
  307. ║ Entry has a bad            Two periods in the message may         Yes        ║
  308. ║ attribute (or size,        indicate which entry in the sub-                  ║
  309. ║ or link)                   directory was in error.                           ║
  310. ║                                                                              ║
  311. ║ Errors found, F            If /F parameter is not given, CHKDSK   Yes        ║
  312. ║ parameter has not been     does not have permission to correct               ║
  313. ║ specified. No correction   any errors found. This message                    ║
  314. ║ has been made.             indicates that no corrections have                ║
  315. ║                            been made.                                        ║
  316. ║                                                                              ║
  317. ║ MESSAGE                    MEANING                        CORRECTED IF       ║
  318. ║                                                          /F IS INCLUDED?     ║
  319. ║                                                                              ║
  320. ║                                                                              ║
  321. ║ File is cross-linked       The same data block is allocated to    No         ║
  322. ║ on cluster n               two files. Make a copy of each file               ║
  323. ║                            with a new filename (if you want to               ║
  324. ║                            keep then), then delete the cross-                ║
  325. ║                            linked files. One of the copies of                ║
  326. ║                            the files will be corupted.                       ║
  327. ║                                                                              ║
  328. ║ First cluster number       File has an invalid pointer to the     Yes        ║
  329. ║ is invalid, entry          data area. File is truncated to                   ║
  330. ║ truncated                  zero length.                                      ║
  331. ║                                                                              ║
  332. ║ Incorrect DOS version      CHKDSK can not operate on files        No         ║
  333. ║                            created by DOS versions lower than                ║
  334. ║                            2.0                                               ║
  335. ║                                                                              ║
  336. ║                                                                              ║
  337. ║ MESSAGE                    MEANING                        CORRECTED IF       ║
  338. ║                                                          /F IS INCLUDED?     ║
  339. ║                                                                              ║
  340. ║ Insufficient Memory        Caused by insufficient system          No         ║
  341. ║ CHKDSK can not continue    memory. Try removing any resident                 ║
  342. ║                            (TSR) programs.                                   ║
  343. ║                                                                              ║
  344. ║ Insufficient room in       Because of DOS limitation on number    No         ║
  345. ║ root directory. Erase      of files in root directory, CHKDSK                ║
  346. ║ files in root and repeat   cannot create files from the lost                 ║
  347. ║ CHKDSK                     data blocks. Try copying some files               ║
  348. ║                            to another disk and deleting them from            ║
  349. ║                            the root directory of disk you're                 ║
  350. ║                            checking, then repeat.                            ║
  351. ║                                                                              ║
  352. ║ Invalid current directory. CHKDSK can not continue. Try           No         ║
  353. ║ Processing can not         rebooting the system and rerunning                ║
  354. ║ continue.                  CHKDSK                                            ║
  355. ║                                                                              ║
  356. ║ Invalid Subdirectory       CHKDSK has detected errors in the      Yes        ║
  357. ║                            subdirectory.                                     ║
  358. ║                                                                              ║
  359. ║                                                                              ║
  360. ║ MESSAGE                    MEANING                        CORRECTED IF       ║
  361. ║                                                          /F IS INCLUDED?     ║
  362. ║                                                                              ║
  363. ║ Probable non - DOS disk    The disk is either not DOS format      Yes, if    ║
  364. ║ Continue (Y/N)?            or is damaged.                         Y is       ║
  365. ║                                                                   selected   ║
  366. ║                                                                              ║
  367. ║ Unrecoverable error in     If Y, CHKDSK will convert the          Yes, if    ║
  368. ║ directory. Convert         directory into a file. You can then    Y is       ║
  369. ║ directory to file (Y/N)?   repair the directory, or delete it.    selected   ║
  370. ║                                                                              ║
  371. ║ (a) lost clusters found    If yes, CHKDSK will create file(s)     Yes, if    ║
  372. ║ in (b) chains. Convert     FILEnnnn (nnnn is sequential number,   Y is       ║
  373. ║ lost chains to files?      starting at 0000) The lost clusters    selected   ║
  374. ║ (Y/N)                      will be included in the new file(s).              ║
  375. ║                            and display message 'x bytes disk                 ║
  376. ║                            space freed'. If /F parameter has                 ║
  377. ║                            not been specified, the message is                ║
  378. ║                            'x bytes of disk space would be freed'            ║
  379. ║                                                                              ║
  380. ╟──────────────────────────────────────────────────────────────────────────────╢
  381. ║ EXAMPLE  : CHKDSK A:                                                         ║
  382. ╟──────────────────────────────────────────────────────────────────────────────╢
  383. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  384. ╚══════════════════════════════════════════════════════════════════════════════╝
  385. @@CLS            - Clear monitor screen
  386. $$
  387. ╔══════════════════════════════════════════════════════════════════════════════╗
  388. ║ COMMAND  : CLS (Clear Screen)                                                ║
  389. ╠══════════════════════════════════════════════════════════════════════════════╣
  390. ║ TYPE     : Internal                                                          ║
  391. ╟──────────────────────────────────────────────────────────────────────────────╢
  392. ║ SYNTAX   : CLS                                                               ║
  393. ╟──────────────────────────────────────────────────────────────────────────────╢
  394. ║ FUNCTION : Clears the terminal screen                                        ║
  395. ╟──────────────────────────────────────────────────────────────────────────────╢
  396. ║ EXAMPLE  : CLS                                                               ║
  397. ╟──────────────────────────────────────────────────────────────────────────────╢
  398. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  399. ╚══════════════════════════════════════════════════════════════════════════════╝
  400. @@COMMAND        - Invoke a secondary command processor
  401. $$
  402. ╔══════════════════════════════════════════════════════════════════════════════╗
  403. ║ COMMAND  : COMMAND                                                           ║
  404. ╠══════════════════════════════════════════════════════════════════════════════╣
  405. ║ TYPE     : External                                                          ║
  406. ╟──────────────────────────────────────────────────────────────────────────────╢
  407. ║ SYNTAX   : COMMAND [d:][path][parameters]                                    ║
  408. ╟──────────────────────────────────────────────────────────────────────────────╢
  409. ║ FUNCTION : Invoke a secondary command processor.                             ║
  410. ╟──────────────────────────────────────────────────────────────────────────────╢
  411. ║ COMMENTS : Typically used within a application program to exit to DOS, then  ║
  412. ║            return to the application program.                                ║
  413. ║                                                                              ║
  414. ║            [d:] and [path] (if given) specify where DOS is to look to        ║
  415. ║            find the command processor.                                       ║
  416. ║                                                                              ║
  417. ║            If parameters are not given, a second copy of the command         ║
  418. ║            processor is loaded with the same environment as the primary      ║
  419. ║            command processor. The environment of the secondary command       ║
  420. ║            processor can be changed with SET, PATH, or MODE. The             ║
  421. ║            environment of the primary command processor remains unchanged.   ║
  422. ║                                                                              ║
  423. ║            If parameters have not been given, the command EXIT returns       ║
  424. ║            control to the primary processor.                                 ║
  425. ╟──────────────────────────────────────────────────────────────────────────────╢
  426. ║ PARAMETERS : /P - creates a permanent secondary processor, which can only    ║
  427. ║                   be removed by rebooting DOS. Note: all open files must     ║
  428. ║                   be closed before creating a secondary processor            ║
  429. ║                                                                              ║
  430. ║              /C - Allows any DOS command to be passed as a string to the     ║
  431. ║                   secondary processor. After execution of the DOS command,   ║
  432. ║                   control is returned to the primary processor.              ║
  433. ║                   For example:                                               ║
  434. ║                       A>COMMAND /C DIR A                                     ║
  435. ║                   loads a secondary command processor, executes the command  ║
  436. ║                   DIR A, then returns to the primary processor.              ║
  437. ║                                                                              ║
  438. ╟──────────────────────────────────────────────────────────────────────────────╢
  439. ║ REFERENCE : EXIT                                                             ║
  440. ╟──────────────────────────────────────────────────────────────────────────────╢
  441. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  442. ║                Contains enhanced features available only with MS DOS 3.1 and ║
  443. ║                PC DOS 3.1 and higher.                                        ║
  444. ╚══════════════════════════════════════════════════════════════════════════════╝
  445. @@COPY           - Copy one or more disk files
  446. $$
  447. ╔══════════════════════════════════════════════════════════════════════════════╗
  448. ║ COMMAND  : COPY                                                              ║
  449. ╠══════════════════════════════════════════════════════════════════════════════╣
  450. ║ TYPE     : Internal                                                          ║
  451. ╟──────────────────────────────────────────────────────────────────────────────╢
  452. ║ SYNTAX   : COPY [parameter][d:][file][parameter] [d:][file][parameter]       ║
  453. ║             or:                                                              ║
  454. ║            COPY [parameter][d:][file][parameter]+[d:][file][parameter]       ║
  455. ║                 [d:][file][parameter]                                        ║
  456. ╟──────────────────────────────────────────────────────────────────────────────╢
  457. ║ FUNCTION : Copies one or more files from one disk to another, or to a        ║
  458. ║            different name on the same disk.                                  ║
  459. ║                                                                              ║
  460. ║            Also can be used to copy files to or from other system devices,   ║
  461. ║            such as the printer or keyboard.                                  ║
  462. ╟──────────────────────────────────────────────────────────────────────────────╢
  463. ║ COMMENTS : First file specified in the command line is the source file, the  ║
  464. ║            second is the destination file.                                   ║
  465. ║                                                                              ║
  466. ║            Wildcards ? and * can be used in file names.                      ║
  467. ╟──────────────────────────────────────────────────────────────────────────────╢
  468. ║ PARAMETERS : /V Instructs DOS to verify that the destination file is written ║
  469. ║                 accuately                                                    ║
  470. ║                                                                              ║
  471. ║              /A, /B parameters are used to allow combining of ASCII and      ║
  472. ║                     binary files.                                            ║
  473. ║                     For source files, /A causes COPY to copy up to but not   ║
  474. ║                     including the end-of-file Ctrl Z. /B causes the entire   ║
  475. ║                     length to be copied.                                     ║
  476. ║                     For destination files, the /A and /B parameters determine║
  477. ║                     whether or not a Ctrl Z is placed at the end of the      ║
  478. ║                     file. (added with /A, not with /B)                       ║
  479. ║                                                                              ║
  480. ╟──────────────────────────────────────────────────────────────────────────────╢
  481. ║ EXAMPLES : 1. Copy a file from one disk to another, with the same name:      ║
  482. ║               A>COPY A:FILE B: copies file FILE from drive A to drive B      ║
  483. ║                                                                              ║
  484. ║            2. Copy a file to from one disk to another, with a new name:      ║
  485. ║               A>COPY A:FILE_1 B:FILE_2  makes a copy of the file FILE_1 on   ║
  486. ║                         drive A onto drive B, with the name of the new file  ║
  487. ║                         on B FILE_2                                          ║
  488. ║                                                                              ║
  489. ║            3. Copy a file to a different name on the same disk:              ║
  490. ║               A>COPY FILE_1 FILE_2  makes a copy of file FILE_1 with the     ║
  491. ║                         name FILE_2, both on drive A.                        ║
  492. ║                                                                              ║
  493. ║            4. Combine several files into a new file:                         ║
  494. ║               A>COPY FILE_1 + FILE_2 FILE_3  Combines files FILE_1 and       ║
  495. ║                         FILE_2 to make FILE_3.                               ║
  496. ║                                                                              ║
  497. ║            5. Copy a file to the printer:                                    ║
  498. ║               A>COPY FILE.TXT PRN                                            ║
  499. ║                                                                              ║
  500. ║            6. Copy text from the keyboard to a file:                         ║
  501. ║               A>COPY CON MYFILE.EXT                                          ║
  502. ║                 text....                                                     ║
  503. ║                   .                                                          ║
  504. ║                   .                                                          ║
  505. ║                 text....                                                     ║
  506. ║                 Ctrl Z                                                       ║
  507. ╟──────────────────────────────────────────────────────────────────────────────╢
  508. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  509. ╚══════════════════════════════════════════════════════════════════════════════╝
  510. @@CTTY           - Change console device
  511. $$
  512. ╔══════════════════════════════════════════════════════════════════════════════╗
  513. ║ COMMAND  : CTTY                                                              ║
  514. ╠══════════════════════════════════════════════════════════════════════════════╣
  515. ║ TYPE     : Internal                                                          ║
  516. ╟──────────────────────────────────────────────────────────────────────────────╢
  517. ║ SYNTAX   : CTTY [device]                                                     ║
  518. ╟──────────────────────────────────────────────────────────────────────────────╢
  519. ║ FUNCTION : Allows you to change the device from which you issue commands.    ║
  520. ╟──────────────────────────────────────────────────────────────────────────────╢
  521. ║ COMMENTS : The [device] is the device from which DOS commands are issued.    ║
  522. ╟──────────────────────────────────────────────────────────────────────────────╢
  523. ║ EXAMPLE  : A>CTTY AUX moves all command I/O to the AUX device.               ║
  524. ║                                                                              ║
  525. ║            A>CTTY CON restores the console (keyboard and monitor) as the     ║
  526. ║                       DOS command device.                                    ║
  527. ║                                                                              ║
  528. ╟──────────────────────────────────────────────────────────────────────────────╢
  529. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  530. ╚══════════════════════════════════════════════════════════════════════════════╝
  531. @@DATE           - Display/change date of system clock calendar
  532. $$
  533. ╔══════════════════════════════════════════════════════════════════════════════╗
  534. ║ COMMAND  : DATE                                                              ║
  535. ╠══════════════════════════════════════════════════════════════════════════════╣
  536. ║ TYPE     : Internal                                                          ║
  537. ╟──────────────────────────────────────────────────────────────────────────────╢
  538. ║ SYNTAX   : DATE [mm-dd-yy]                                                   ║
  539. ║             or                                                               ║
  540. ║            DATE [mm/dd/yy]                                                   ║
  541. ║             or                                                               ║
  542. ║            DATE [mm.dd.yy]                                                   ║
  543. ╟──────────────────────────────────────────────────────────────────────────────╢
  544. ║ FUNCTION : Display or set the system date.                                   ║
  545. ╟──────────────────────────────────────────────────────────────────────────────╢
  546. ║ COMMENTS : If you do not supply a date in the command line the following     ║
  547. ║            message is displayed:                                             ║
  548. ║               Current Date is (day) (mm-dd-yy)                               ║
  549. ║               Enter new date:                                                ║
  550. ║            Press ENTER or RETURN to leave the date unchanged.                ║
  551. ║            Enter a new date in the format mm-dd-yy then press RETURN to      ║
  552. ║            change the date.                                                  ║
  553. ║                                                                              ║
  554. ║            Alternately, the date can be changed directly by entering:        ║
  555. ║              A>DATE 9-30-97                                                  ║
  556. ║            In this case, the system date is changed, and no message is shown ║
  557. ╟──────────────────────────────────────────────────────────────────────────────╢
  558. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  559. ╚══════════════════════════════════════════════════════════════════════════════╝
  560. @@DEL            - Delete file(s)
  561. $$
  562. ╔══════════════════════════════════════════════════════════════════════════════╗
  563. ║ COMMAND  : DEL                                                               ║
  564. ╠══════════════════════════════════════════════════════════════════════════════╣
  565. ║ TYPE     : Internal                                                          ║
  566. ╟──────────────────────────────────────────────────────────────────────────────╢
  567. ║ SYNTAX   : DEL [d:][path][filename][.ext]                                    ║
  568. ║               or                                                             ║
  569. ║            ERASE [d:][path][filename][.ext]                                  ║
  570. ╟──────────────────────────────────────────────────────────────────────────────╢
  571. ║ FUNCTION : Deletes all files matching the file specification.                ║
  572. ╟──────────────────────────────────────────────────────────────────────────────╢
  573. ║ COMMENTS : If the command DEL *.* is given, the prompt:                      ║
  574. ║              Are you sure (Y/N)?              is given.                      ║
  575. ║            If the answer Y RETURN is given then all files on the disk or in  ║
  576. ║            the current subdirectory are deleted.                             ║
  577. ║                                                                              ║
  578. ║            Files with Read-Only attribute can not be DELeted.                ║
  579. ╟──────────────────────────────────────────────────────────────────────────────╢
  580. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  581. ╚══════════════════════════════════════════════════════════════════════════════╝
  582. @@DIR            - Display directory
  583. $$
  584. ╔══════════════════════════════════════════════════════════════════════════════╗
  585. ║ COMMAND  : DIR                                                               ║
  586. ╠══════════════════════════════════════════════════════════════════════════════╣
  587. ║ TYPE     : Internal                                                          ║
  588. ╟──────────────────────────────────────────────────────────────────────────────╢
  589. ║ SYNTAX   : DIR [d:][path][filename][.ext][parameters]                        ║
  590. ╟──────────────────────────────────────────────────────────────────────────────╢
  591. ║ FUNCTION : Displays a list of all files in the directory.                    ║
  592. ╟──────────────────────────────────────────────────────────────────────────────╢
  593. ║ COMMENTS : If no disk drive is given, DIR defaults to the current drive. If  ║
  594. ║            no file name is give, all files on the specified (or default)     ║
  595. ║            drive and path are listed.                                        ║
  596. ║                                                                              ║
  597. ║            Wild cards ? for a single character, and * for any number of      ║
  598. ║            characters can be used in the file name and extension.            ║
  599. ║                                                                              ║
  600. ║            For a printed listing of the directory, the output of the DIR     ║
  601. ║            command can be redirected with the command:                       ║
  602. ║              A>DIR > PRN                                                     ║
  603. ╟──────────────────────────────────────────────────────────────────────────────╢
  604. ║ PARAMETERS:  /W  Instructs DOS to display a Wide listing of the directory.   ║
  605. ║                  Filenames are listed in five columns accross the screen,    ║
  606. ║                  allowing five times as many file names to be visible on the ║
  607. ║                  screen. To make room for the additional information, the    ║
  608. ║                  file size and date and time of last update are not displayed║
  609. ║                                                                              ║
  610. ║              /P  Instructs DOS to pause after displaying each full screen of ║
  611. ║                  the directory listing, and wait for a keypress to continue. ║
  612. ╟──────────────────────────────────────────────────────────────────────────────╢
  613. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  614. ╚══════════════════════════════════════════════════════════════════════════════╝
  615. @@DISKCOMP       - Compare contents of two diskettes
  616. $$
  617. ╔══════════════════════════════════════════════════════════════════════════════╗
  618. ║ COMMAND  : DISKCOMP                                                          ║
  619. ╠══════════════════════════════════════════════════════════════════════════════╣
  620. ║ TYPE     : External                                                          ║
  621. ╟──────────────────────────────────────────────────────────────────────────────╢
  622. ║ SYNTAX   : DISKCOMP [d:] [d:][parameter]                                     ║
  623. ╟──────────────────────────────────────────────────────────────────────────────╢
  624. ║ FUNCTION : Compares the contents of two diskettes                            ║
  625. ╟──────────────────────────────────────────────────────────────────────────────╢
  626. ║ COMMENTS : Diskettes are compared track by track, and any track not matching ║
  627. ║            is identified.                                                    ║
  628. ║                                                                              ║
  629. ║            The two diskettes to be compared must be of the same type and     ║
  630. ║            size.                                                             ║
  631. ║                                                                              ║
  632. ║            Do not use DISKCOMP to compare different size disks such as a     ║
  633. ║            diskette and a fixed disk.                                        ║
  634. ║                                                                              ║
  635. ║            To compare only two files use the DOS COMP utility.               ║
  636. ╟──────────────────────────────────────────────────────────────────────────────╢
  637. ║ PARAMETERS :  /1 : Only the first side of each diskette are compared.        ║
  638. ║                                                                              ║
  639. ║               /8 : Only 8 sectors per track are compared, regardless of the  ║
  640. ║                    actual number of sectors present.                         ║
  641. ╟──────────────────────────────────────────────────────────────────────────────╢
  642. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  643. ╚══════════════════════════════════════════════════════════════════════════════╝
  644. @@DISKCOPY       - Copy the contents of one diskette to another
  645. $$
  646. ╔══════════════════════════════════════════════════════════════════════════════╗
  647. ║ COMMAND  : DISKCOPY                                                          ║
  648. ╠══════════════════════════════════════════════════════════════════════════════╣
  649. ║ TYPE     : External                                                          ║
  650. ╟──────────────────────────────────────────────────────────────────────────────╢
  651. ║ SYNTAX   : DISKCOPY [d:] [d:][parameter]                                     ║
  652. ╟──────────────────────────────────────────────────────────────────────────────╢
  653. ║ FUNCTION : Copies the entire contents of the source diskette to the          ║
  654. ║            destination diskette. This command is to be used only for copying ║
  655. ║            diskettes.                                                        ║
  656. ╟──────────────────────────────────────────────────────────────────────────────╢
  657. ║ COMMENTS : The first drive listed in the command line is the source drive,   ║
  658. ║            the second is the destination.                                    ║
  659. ║                                                                              ║
  660. ║            You can specify the same drive for both source and destination,   ║
  661. ║            in which case you will be prompted which disk to install in the   ║
  662. ║            drive for each operation in the diskcopy.                         ║
  663. ║                                                                              ║
  664. ║            If the desination diskette is not formatted, or is formatted with ║
  665. ║            a different format, DISKCOPY will format the destination diskette ║
  666. ║            to the same format as the source diskette.                        ║
  667. ╟──────────────────────────────────────────────────────────────────────────────╢
  668. ║ PARAMETER : /1 Instructs DOS to copy only the first side of the diskette.    ║
  669. ╟──────────────────────────────────────────────────────────────────────────────╢
  670. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  671. ╚══════════════════════════════════════════════════════════════════════════════╝
  672. @@ECHO           - Enable/disable echoing of batch file commands to monitor
  673. $$
  674. ╔══════════════════════════════════════════════════════════════════════════════╗
  675. ║ COMMAND  : ECHO                                                              ║
  676. ╠══════════════════════════════════════════════════════════════════════════════╣
  677. ║ TYPE     : Internal                                                          ║
  678. ╟──────────────────────────────────────────────────────────────────────────────╢
  679. ║ SYNTAX   : ECHO ON/OFF/message                                               ║
  680. ╟──────────────────────────────────────────────────────────────────────────────╢
  681. ║ FUNCTION : Turns batch echo feature on amd off                               ║
  682. ╟──────────────────────────────────────────────────────────────────────────────╢
  683. ║ COMMENTS : Normally, the commands in a batch file are echoed (displayed) on  ║
  684. ║            the screen as they are executed. ECHO OFF turns this feature off  ║
  685. ║            ECHO ON turns this feature back on.                               ║
  686. ║                                                                              ║
  687. ║            If OFF or ON are not specified, the current status of ECHO is     ║
  688. ║            displayed.                                                        ║
  689. ║                                                                              ║
  690. ║            If a message is give that message will be echoed to the screen    ║
  691. ║            regardless of whether ECHO is ON or OFF.                          ║
  692. ╟──────────────────────────────────────────────────────────────────────────────╢
  693. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  694. ╚══════════════════════════════════════════════════════════════════════════════╝
  695. @@EXE2BIN        - EXE to BINARY file conversion
  696. $$
  697. ╔══════════════════════════════════════════════════════════════════════════════╗
  698. ║ COMMAND  : EXE2BIN                                                           ║
  699. ╠══════════════════════════════════════════════════════════════════════════════╣
  700. ║ TYPE     : External                                                          ║
  701. ╟──────────────────────────────────────────────────────────────────────────────╢
  702. ║ SYNTAX   : EXE2BIN [d:][path][filename][.ext][d:][path][filename][.ext]      ║
  703. ╟──────────────────────────────────────────────────────────────────────────────╢
  704. ║ FUNCTION : Converts files from .EXE format to binary format.                 ║
  705. ╟──────────────────────────────────────────────────────────────────────────────╢
  706. ║ REQUIREMENTS: The input file must be in valid .EXE format produced by the    ║
  707. ║               linker.                                                        ║
  708. ║                                                                              ║
  709. ║               The actual code and data part of the file must be less than    ║
  710. ║               64 K bytes.                                                    ║
  711. ║                                                                              ║
  712. ║               There must be no STACK segment.                                ║
  713. ╟──────────────────────────────────────────────────────────────────────────────╢
  714. ║ COMMENTS : The first parameter is the input file. If no extension is given   ║
  715. ║            then the default is .EXE. The second parameter is the output file.║
  716. ║            The output file drive is the current drive unless explicitly      ║
  717. ║            stated. If no output file name is given the name of the input file║
  718. ║            is the default. The default output extension is .BIN.             ║
  719. ║                                                                              ║
  720. ║            If initial CS:IP is not specified, a pure binary conversion is    ║
  721. ║            assumed. If segment fixups are necessary, the following message   ║
  722. ║            is given:                                                         ║
  723. ║              Fixups needed - base segment (hex):                             ║
  724. ║            Execution continues after typing a legal hexadecimal number and   ║
  725. ║            pressing return.                                                  ║
  726. ║                                                                              ║
  727. ║            If CS:IP is specified as 100H, then it is assumed that the file   ║
  728. ║            is to be run as a .COM file, with the location pointer set to     ║
  729. ║            100H by the assembler statement ORG. The first 100H bytes of the  ║
  730. ║            file are deleted. No segment fixups are allowed.                  ║
  731. ║                                                                              ║
  732. ║            If CS:IP do not meet one of these criteria the following error    ║
  733. ║            message is displayed:                                             ║
  734. ║              File can not be converted                                       ║
  735. ║                                                                              ║
  736. ║            Note that to produce standard .COM files with the MACRO-86        ║
  737. ║            assembler, one must both set the file at 100H with the ORG        ║
  738. ║            statement and specify the first location as the start address.    ║
  739. ║            For example:                                                      ║
  740. ║              ORG  100H                                                       ║
  741. ║              START:                                                          ║
  742. ║              .                                                               ║
  743. ║              .                                                               ║
  744. ║              .                                                               ║
  745. ║              END START                                                       ║
  746. ╟──────────────────────────────────────────────────────────────────────────────╢
  747. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  748. ╚══════════════════════════════════════════════════════════════════════════════╝
  749. @@EXIT           - Exit secondary Command Processor
  750. $$
  751. ╔══════════════════════════════════════════════════════════════════════════════╗
  752. ║ COMMAND  : EXIT                                                              ║
  753. ╠══════════════════════════════════════════════════════════════════════════════╣
  754. ║ TYPE     : Internal                                                          ║
  755. ╟──────────────────────────────────────────────────────────────────────────────╢
  756. ║ SYNTAX   : EXIT                                                              ║
  757. ╟──────────────────────────────────────────────────────────────────────────────╢
  758. ║ FUNCTION : Exits the command processor (command.com), and returns to the     ║
  759. ║            previous level (if any).                                          ║
  760. ╟──────────────────────────────────────────────────────────────────────────────╢
  761. ║ COMMENTS : Used primarily in cases where a secondary command processor has   ║
  762. ║            been run out of an application program (A DOS window). The EXIT   ║
  763. ║            command terminates the secondary command processor, and returns   ║
  764. ║            control to the applications program.                              ║
  765. ╟──────────────────────────────────────────────────────────────────────────────╢
  766. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  767. ╚══════════════════════════════════════════════════════════════════════════════╝
  768. @@FIND           - Find a string in a file
  769. $$
  770. ╔══════════════════════════════════════════════════════════════════════════════╗
  771. ║ COMMAND  : FIND                                                              ║
  772. ╠══════════════════════════════════════════════════════════════════════════════╣
  773. ║ TYPE     : External                                                          ║
  774. ╟──────────────────────────────────────────────────────────────────────────────╢
  775. ║ SYNTAX   : FIND [parameter][string][d:][path][filename][.ext]                ║
  776. ╟──────────────────────────────────────────────────────────────────────────────╢
  777. ║ FUNCTION : Searches for a specified string in a file or files.               ║
  778. ╟──────────────────────────────────────────────────────────────────────────────╢
  779. ║ COMMENTS : FIND searches the filename or list of filenames for the specified ║
  780. ║            string and displays all lines that contain the string.            ║
  781. ║                                                                              ║
  782. ║            If no input filename is given FIND searches the screen for the    ║
  783. ║            specified string and displays all matching lines.                 ║
  784. ║                                                                              ║
  785. ║            Wild cards are not allowed in the file name or extension.         ║
  786. ║                                                                              ║
  787. ║            The string should be enclosed in quotes.                          ║
  788. ╟──────────────────────────────────────────────────────────────────────────────╢
  789. ║ PARAMETERS: /V Causes FIND to display all lines NOT containing the specified ║
  790. ║                string.                                                       ║
  791. ║                                                                              ║
  792. ║             /C Causes FIND to display only the count of how many lines       ║
  793. ║                contain the specified string.                                 ║
  794. ║                                                                              ║
  795. ║             /N Causes FIND to display not only the lines containing the      ║
  796. ║                specified string, but also their line number in the file.     ║
  797. ╟──────────────────────────────────────────────────────────────────────────────╢
  798. ║ EXAMPLE  :  A>FIND "Name" LIST.TXT  displays all lines containing the word   ║
  799. ║                                     name in the file LIST.TXT.               ║
  800. ║                                                                              ║
  801. ║             a:DIR C:|FIND /V "BAK"  Displays a directory of C: not listing   ║
  802. ║                                     any file names containing the string     ║
  803. ║                                     "BAK".                                   ║
  804. ╟──────────────────────────────────────────────────────────────────────────────╢
  805. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  806. ╚══════════════════════════════════════════════════════════════════════════════╝
  807. @@FOR            - Repeated execution of commands
  808. $$
  809. ╔══════════════════════════════════════════════════════════════════════════════╗
  810. ║ COMMAND  : FOR                                                               ║
  811. ╠══════════════════════════════════════════════════════════════════════════════╣
  812. ║ TYPE     : Internal                                                          ║
  813. ╟──────────────────────────────────────────────────────────────────────────────╢
  814. ║ SYNTAX   : FOR %%[c] IN [set] DO [command]  -for batch processing            ║
  815. ║            FOR %[c] IN [set] DO [command]   -for interactive processing      ║
  816. ╟──────────────────────────────────────────────────────────────────────────────╢
  817. ║ FUNCTION : Allows repeated execution of commands.                            ║
  818. ╟──────────────────────────────────────────────────────────────────────────────╢
  819. ║ COMMENTS : %c is a single character variable name. All characters are valid  ║
  820. ║            except 0 - 9, which are reserved as batch file command line       ║
  821. ║            parameters.                                                       ║
  822. ║                                                                              ║
  823. ║            The %%[c] variable is set to each member in the set, and the      ║
  824. ║            command executed.                                                 ║
  825. ║                                                                              ║
  826. ║            If the [set] contains a wild card, the variable is set to each    ║
  827. ║            matching pattern from the disk directory. In the case of a wild   ║
  828. ║            card only one member (with the wild card) is allowed in the set.  ║
  829. ╟──────────────────────────────────────────────────────────────────────────────╢
  830. ║ EXAMPLE  : FOR %%a IN (*.OBJ) do LINK %%a   executes LINK for all files with ║
  831. ║                                             the extension .OBJ in a batch.   ║
  832. ║                                                                              ║
  833. ║            FOR %%a IN (FILE1 FILE2 file3) DO TYPE %%a                        ║
  834. ║                                             types the three files to the     ║
  835. ║                                             screen.                          ║
  836. ╚══════════════════════════════════════════════════════════════════════════════╝
  837. @@FORMAT         - Format a diskette or disk
  838. $$
  839. ╔══════════════════════════════════════════════════════════════════════════════╗
  840. ║ COMMAND  : FORMAT                                                            ║
  841. ╠══════════════════════════════════════════════════════════════════════════════╣
  842. ║ TYPE     : External                                                          ║
  843. ╟──────────────────────────────────────────────────────────────────────────────╢
  844. ║ SYNTAX   : FORMAT [d:][parameters]                                           ║
  845. ╟──────────────────────────────────────────────────────────────────────────────╢
  846. ║ FUNCTION : Formats the specified disk to accept DOS files, analyzing the     ║
  847. ║            disk in the process.                                              ║
  848. ╟──────────────────────────────────────────────────────────────────────────────╢
  849. ║ COMMENTS : The command initializes the directory and the file allocation     ║
  850. ║            tables.                                                           ║
  851. ║                                                                              ║
  852. ║            If no drive is given the disk in the default drive is formatted.  ║
  853. ║                                                                              ║
  854. ║            Formatting ERASES ALL EXISTING FILES on a disk.                   ║
  855. ╟──────────────────────────────────────────────────────────────────────────────╢
  856. ║ PARAMETERS: /1  Causes the disk to be formatted single sided, regardless of  ║
  857. ║                 the disk or drive type.                                      ║
  858. ║                                                                              ║
  859. ║             /2  Causes the disk to be formatted double sided, regardless of  ║
  860. ║                 the disk or drive type.                                      ║
  861. ║                                                                              ║
  862. ║             /4  Allows a high density drive (1.2mb) to format a disk as a    ║
  863. ║                 standard density (360 kb) disk. Interchangability between    ║
  864. ║                 disks formatted in a HD drive with the /4 parameter and      ║
  865. ║                 standard density disks formatted in a non HD drive is not    ║
  866. ║                 guaranteed.                                                  ║
  867. ║                                                                              ║
  868. ║             /8  Causes the disk to be formatted with 8 sectors per track     ║
  869. ║                 rather than 9 sectors/track (360 KB) or 15 sectors (1.2 MB)  ║
  870. ║                 density. The /V parameter is not compatible with the /8      ║
  871. ║                 parameter.                                                   ║
  872. ║                                                                              ║
  873. ║             /B  Formats a 360 KB disk for 8 sectors/track, and allocates     ║
  874. ║                 space for the hidden system files. A disk formatted with the ║
  875. ║                 /B parameter can later be made bootable for any version of   ║
  876. ║                 MS-DOS or PC-DOS with the SYS command.                       ║
  877. ║                                                                              ║
  878. ║             /V  Causes format to prompt the user for a volume label after    ║
  879. ║                 formatting. A volume label can be from 1 to 11 characters.   ║
  880. ║                                                                              ║
  881. ║             /S  Causes FORMAT to copy the system files from the default drive║
  882. ║                 to the newly formatted disk after formatting.                ║
  883. ║                 The system files consist of two hidden files, MIO.SYS and    ║
  884. ║                 MSDOS.SYS, and the non hidden file, COMMAND.COM.             ║
  885. ╟──────────────────────────────────────────────────────────────────────────────╢
  886. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  887. ║                Contains enhanced features available only with MS DOS 3.1 and ║
  888. ║                PC DOS 3.1 and higher.                                        ║
  889. ╚══════════════════════════════════════════════════════════════════════════════╝
  890. @@GOTO           - Jump to a label in Batch file execution
  891. $$
  892. ╔══════════════════════════════════════════════════════════════════════════════╗
  893. ║ COMMAND  : GOTO                                                              ║
  894. ╠══════════════════════════════════════════════════════════════════════════════╣
  895. ║ TYPE     : Internal                                                          ║
  896. ╟──────────────────────────────────────────────────────────────────────────────╢
  897. ║ SYNTAX   : GOTO [label]                                                      ║
  898. ╟──────────────────────────────────────────────────────────────────────────────╢
  899. ║ FUNCTION : Sends the program to the command following the specified label    ║
  900. ╟──────────────────────────────────────────────────────────────────────────────╢
  901. ║ COMMENTS : In a batch file, labels are indicated by a colon (:) in the first ║
  902. ║            GOTO causes the operation of the batch file to jump to the first  ║
  903. ║            command following the label. If the label is not found, the batch ║
  904. ║            file terminates. Note that the GOTO can jump either forward or    ║
  905. ║            backward in the batch file.                                       ║
  906. ╟──────────────────────────────────────────────────────────────────────────────╢
  907. ║ EXAMPLE  :   :START                                                          ║
  908. ║              REM This is a loop                                              ║
  909. ║              GOTO START                                                      ║
  910. ╟──────────────────────────────────────────────────────────────────────────────╢
  911. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  912. ╚══════════════════════════════════════════════════════════════════════════════╝
  913. @@GRAFTABL       - load an external extended character font
  914. $$
  915. ╔══════════════════════════════════════════════════════════════════════════════╗
  916. ║ COMMAND  : GRAFTABL/GRAFTBNO                                                 ║
  917. ╠══════════════════════════════════════════════════════════════════════════════╣
  918. ║ TYPE     : External                                                          ║
  919. ╟──────────────────────────────────────────────────────────────────────────────╢
  920. ║ SYNTAX   : GRAFTABL                                                          ║
  921. ║            GRAFTBNO                                                          ║
  922. ╟──────────────────────────────────────────────────────────────────────────────╢
  923. ║ FUNCTION : GRAFTABL (or GRAFTBNO) loads an extended character font table for ║
  924. ║            the graphics mode. Use Graftbno for the Danish or Norwegian       ║
  925. ║            keyboard.                                                         ║
  926. ╟──────────────────────────────────────────────────────────────────────────────╢
  927. ║ COMMENTS : GRAFTABL loads into memory a table containing foreign language    ║
  928. ║            characters (ASCII characters 128 - 255).                          ║
  929. ╟──────────────────────────────────────────────────────────────────────────────╢
  930. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  931. ╚══════════════════════════════════════════════════════════════════════════════╝
  932. @@GRAPHICS       - Output screen print to printer in graphics mode
  933. $$
  934. ╔══════════════════════════════════════════════════════════════════════════════╗
  935. ║ COMMAND  : GRAPHICS                                                          ║
  936. ╠══════════════════════════════════════════════════════════════════════════════╣
  937. ║ TYPE     : External                                                          ║
  938. ╟──────────────────────────────────────────────────────────────────────────────╢
  939. ║ SYNTAX   : GRAPHICS [printer][parameter]                                     ║
  940. ╟──────────────────────────────────────────────────────────────────────────────╢
  941. ║ FUNCTION : Outputs a screen print to the printer in either test or graphics  ║
  942. ║            mode.                                                             ║
  943. ╟──────────────────────────────────────────────────────────────────────────────╢
  944. ║ COMMENTS : [printer] is one of the following codes:                          ║
  945. ║            COLOR1        -Color printer using black ribbon.                  ║
  946. ║                                                                              ║
  947. ║            COLOR4        -Color printer using RGB (red,green,blue) ribbon    ║
  948. ║                                                                              ║
  949. ║            COLOR8        -Color printer using CMY (cyan,magenta,yellow)      ║
  950. ║                           ribbon.                                            ║
  951. ║                                                                              ║
  952. ║            COMPACT       -IBM Personal Computer Printer, or equivalent       ║
  953. ║                                                                              ║
  954. ║            GRAPHICS      -IBM Personal Computer Graphics printer, or         ║
  955. ║                           equivalent.                                        ║
  956. ║                                                                              ║
  957. ║            Having established the graphics mode, press SHIFT PRTSCR to print ║
  958. ║            the screen.                                                       ║
  959. ╟──────────────────────────────────────────────────────────────────────────────╢
  960. ║ PARAMETERS:  /B  Background color. Prints the background color when used with║
  961. ║                  printer codes COLOR4 and COLOR8. Omitting the /B in these   ║
  962. ║                  printer codes causes the background color not to be printed.║
  963. ║                                                                              ║
  964. ║              /R  Inverse mode. Prints the screen image in inverse shading.   ║
  965. ╟──────────────────────────────────────────────────────────────────────────────╢
  966. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  967. ╚══════════════════════════════════════════════════════════════════════════════╝
  968. @@IF             - Conditional test for batch file execution control
  969. $$
  970. ╔══════════════════════════════════════════════════════════════════════════════╗
  971. ║ COMMAND  : IF                                                                ║
  972. ╠══════════════════════════════════════════════════════════════════════════════╣
  973. ║ TYPE     : Internal                                                          ║
  974. ╟──────────────────────────────────────────────────────────────────────────────╢
  975. ║ SYNTAX   : IF [condition] [command]                                          ║
  976. ╟──────────────────────────────────────────────────────────────────────────────╢
  977. ║ FUNCTION : Used in batch processing, tests four different conditions to      ║
  978. ║            determine program flow.                                           ║
  979. ╟──────────────────────────────────────────────────────────────────────────────╢
  980. ║ COMMENTS : [condition] can be one of the following:                          ║
  981. ║                                                                              ║
  982. ║            ERRORLEVEL [number]  Is true if previous program executed set the ║
  983. ║            ERRORLEVEL to number or higher on exit.                           ║
  984. ║                                                                              ║
  985. ║            [string1] == [string2] Is true if the strings are identical.      ║
  986. ║            Spaces and other separators are not allowed within the strings.   ║
  987. ║                                                                              ║
  988. ║            EXIST [filename]   Is true if the file filename exists.           ║
  989. ║                                                                              ║
  990. ║            NOT [condition]  Is true if the condition is false.               ║
  991. ║                                                                              ║
  992. ║            The command is executed if the condition evaluates to true. If    ║
  993. ║            condition is false the command is ignored.                        ║
  994. ╟──────────────────────────────────────────────────────────────────────────────╢
  995. ║ EXAMPLE  : IF EXIST LIST.TXT ECHO the file exists                            ║
  996. ╟──────────────────────────────────────────────────────────────────────────────╢
  997. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  998. ╚══════════════════════════════════════════════════════════════════════════════╝
  999. @@JOIN           - Join a disk drive to a path name
  1000. $$
  1001. ╔══════════════════════════════════════════════════════════════════════════════╗
  1002. ║ COMMAND  : JOIN                                                              ║
  1003. ╠══════════════════════════════════════════════════════════════════════════════╣
  1004. ║ TYPE     : External                                                          ║
  1005. ╟──────────────────────────────────────────────────────────────────────────────╢
  1006. ║ SYNTAX   : JOIN [d:] [d:][path][parameter]                                   ║
  1007. ╟──────────────────────────────────────────────────────────────────────────────╢
  1008. ║ FUNCTION : Joins a disk drive to a path name                                 ║
  1009. ╟──────────────────────────────────────────────────────────────────────────────╢
  1010. ║ COMMENTS : Joins two physical drives in one logical path name.               ║
  1011. ║                                                                              ║
  1012. ║            If the path name exists prior to the join statement, that path    ║
  1013. ║            name will not be usable while the join is in effect.              ║
  1014. ║                                                                              ║
  1015. ║            After the join, the first drive name becomes invalid. For example ║
  1016. ║            if the statement (JOIN A: C:/files) is issued, DOS will report the║
  1017. ║            error "invalid drive" if an attemp to access drive A: is made.    ║
  1018. ║                                                                              ║
  1019. ║            JOIN can only be applied at the root directory of a disk drive.   ║
  1020. ║            Drive A: cannot be joined to a subdirectory in C:                 ║
  1021. ║                                                                              ║
  1022. ║            DOS commands DISKCOMP, DISKCOPY, FORMAT, BACKUP, and RESTORE      ║
  1023. ║            should not be used while a JOIN is in effect.                     ║
  1024. ╟──────────────────────────────────────────────────────────────────────────────╢
  1025. ║ PARAMETERS: /D : deletes an existing JOIN.                                   ║
  1026. ╟──────────────────────────────────────────────────────────────────────────────╢
  1027. ║ EXAMPLES:  A>JOIN A: C:\allfiles     allows drives A: and C: to be refered   ║
  1028. ║                                      to by the path name allfiles.           ║
  1029. ║                                                                              ║
  1030. ║            A>JOIN A: /D              deletes the JOIN created in the         ║
  1031. ║                                      previous example.                       ║
  1032. ╟──────────────────────────────────────────────────────────────────────────────╢
  1033. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  1034. ╚══════════════════════════════════════════════════════════════════════════════╝
  1035. @@KEYB**         - Load an external keyboard program
  1036. $$
  1037. ╔══════════════════════════════════════════════════════════════════════════════╗
  1038. ║ COMMAND  : KEYB**                                                            ║
  1039. ╠══════════════════════════════════════════════════════════════════════════════╣
  1040. ║ TYPE     : External                                                          ║
  1041. ╟──────────────────────────────────────────────────────────────────────────────╢
  1042. ║ SYNTAX   : [d:][path] KEYB**                                                 ║
  1043. ╟──────────────────────────────────────────────────────────────────────────────╢
  1044. ║ FUNCTION : Loads a keyboard program into memory to replace the resident      ║
  1045. ║            ROM BIOS keyboard program.                                        ║
  1046. ╟──────────────────────────────────────────────────────────────────────────────╢
  1047. ║ COMMENTS : The ** is a two character country code to be selected from:       ║
  1048. ║              Code          Country                                           ║
  1049. ║                                                                              ║
  1050. ║               DA           Denmark                                           ║
  1051. ║               SU           Finland                                           ║
  1052. ║               FR           France                                            ║
  1053. ║               IT           Italy                                             ║
  1054. ║               NO           Norway                                            ║
  1055. ║               SP           Spain                                             ║
  1056. ║               SV           Sweden                                            ║
  1057. ║               UK           United Kingdom                                    ║
  1058. ║               GR           West Germany                                      ║
  1059. ╟──────────────────────────────────────────────────────────────────────────────╢
  1060. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  1061. ╚══════════════════════════════════════════════════════════════════════════════╝
  1062. @@LABEL          - Create or modify disk volume label
  1063. $$
  1064. ╔══════════════════════════════════════════════════════════════════════════════╗
  1065. ║ COMMAND  : LABEL                                                             ║
  1066. ╠══════════════════════════════════════════════════════════════════════════════╣
  1067. ║ TYPE     : External                                                          ║
  1068. ╟──────────────────────────────────────────────────────────────────────────────╢
  1069. ║ SYNTAX   : LABEL [d:][volume label]                                          ║
  1070. ╟──────────────────────────────────────────────────────────────────────────────╢
  1071. ║ FUNCTION : Creates, modifies, or deletes a volume label of a disk.           ║
  1072. ╟──────────────────────────────────────────────────────────────────────────────╢
  1073. ║ COMMENTS : Use the VOL command to display the current volume label.          ║
  1074. ║                                                                              ║
  1075. ║            Entering LABEL without a parameter causes DOS to display the      ║
  1076. ║            current volume label, then prompt for a new volume label. Pressing║
  1077. ║            ENTER or RETURN at that prompt deletes the current label.         ║
  1078. ║                                                                              ║
  1079. ║            Volume labels can be up to 11 charcaters in length.               ║
  1080. ╟──────────────────────────────────────────────────────────────────────────────╢
  1081. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  1082. ╚══════════════════════════════════════════════════════════════════════════════╝
  1083. @@MKDIR          - Create a new directory
  1084. $$
  1085. ╔══════════════════════════════════════════════════════════════════════════════╗
  1086. ║ COMMAND  : MKDIR                                                             ║
  1087. ╠══════════════════════════════════════════════════════════════════════════════╣
  1088. ║ TYPE     : Internal                                                          ║
  1089. ╟──────────────────────────────────────────────────────────────────────────────╢
  1090. ║ SYNTAX   : MKDIR [d:][path]  or MD [d:][path]                                ║
  1091. ╟──────────────────────────────────────────────────────────────────────────────╢
  1092. ║ FUNCTION : Makes a new directory on the specified drive.                     ║
  1093. ╟──────────────────────────────────────────────────────────────────────────────╢
  1094. ║ COMMENTS : If no drive is specified, the default drive is assumed.           ║
  1095. ╟──────────────────────────────────────────────────────────────────────────────╢
  1096. ║ EXAMPLE  : MKDIR C:\DATA   will create a new subdirectory with the name DATA ║
  1097. ║                            on drive C:                                       ║
  1098. ╟──────────────────────────────────────────────────────────────────────────────╢
  1099. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1100. ╚══════════════════════════════════════════════════════════════════════════════╝
  1101. @@MODE           - Control operation of periferal ports
  1102. $$
  1103. ╔══════════════════════════════════════════════════════════════════════════════╗
  1104. ║ COMMAND  : MODE                                                              ║
  1105. ╠══════════════════════════════════════════════════════════════════════════════╣
  1106. ║ TYPE     : External                                                          ║
  1107. ╟──────────────────────────────────────────────────────────────────────────────╢
  1108. ║ SYNTAX   : Option a:                                                         ║
  1109. ║            MODE LPT#:[c],[l],[P]                                             ║
  1110. ║                                                                              ║
  1111. ║            Option b:                                                         ║
  1112. ║            MODE [n],[d],[T]                                                  ║
  1113. ║                                                                              ║
  1114. ║            Option c:                                                         ║
  1115. ║            MODE COM#: [baud],[parity],[databits],[stopbits],[P],[X]          ║
  1116. ║                                                                              ║
  1117. ║            Option d:                                                         ║
  1118. ║            MODE LPT#: = COMn:                                                ║
  1119. ╟──────────────────────────────────────────────────────────────────────────────╢
  1120. ║ FUNCTION : Controls the mode of operation for the following periferals:      ║
  1121. ║            Printer, Display monitor, RS232 interface (COM ports)             ║
  1122. ╟──────────────────────────────────────────────────────────────────────────────╢
  1123. ║ COMMENTS (General):                                                          ║
  1124. ║            MODE is not changed if a parameter is missing in a MODE command.  ║
  1125. ║                                                                              ║
  1126. ║            Serial ports must be initialized with option c if option d is to  ║
  1127. ║            be used.                                                          ║
  1128. ║                                                                              ║
  1129. ║ COMMENTS (Options):                                                          ║
  1130. ║                                                                              ║
  1131. ║            Option a: (printer)                                               ║
  1132. ║                                                                              ║
  1133. ║            MODE LPT#:[c],[l],[P]                                             ║
  1134. ║                                                                              ║
  1135. ║               # is the printer number (1 - 4)                                ║
  1136. ║               c is the number of characters per line  (80 or 132)            ║
  1137. ║               l is the number of lines per inch (6 or 8)                     ║
  1138. ║               P specifies continuous retry option for timeout.               ║
  1139. ║                 If P is specified, continuous retry can be stopped by        ║
  1140. ║                 pressing CTRL BREAK                                          ║
  1141. ║                                                                              ║
  1142. ║            Option b: (monitor)                                               ║
  1143. ║                                                                              ║
  1144. ║            MODE [n],[d],[T]                                                  ║
  1145. ║                                                                              ║
  1146. ║               n is one of the following:                                     ║
  1147. ║                 40   - 40 characters per line                                ║
  1148. ║                 80   - 80 characters per line                                ║
  1149. ║                 BW40 - 40 characters per line, black & white (for color      ║
  1150. ║                        monitor)                                              ║
  1151. ║                 BW80 - 80 characters per line, black & white (for color      ║
  1152. ║                        monitor)                                              ║
  1153. ║                 CO40 - 40 characters per line, color (for color monitor)     ║
  1154. ║                 CO80 - 80 characters per line, color (for color monitor)     ║
  1155. ║                 MONO - 80 characters per line (for monochrome monitor)       ║
  1156. ║                                                                              ║
  1157. ║               m is either R or L (to shift display right or left)            ║
  1158. ║                                                                              ║
  1159. ║               T if included, displays a test pattern for display alignment   ║
  1160. ║                                                                              ║
  1161. ║               Note: High resolution display can be obtained if you have a    ║
  1162. ║                     high resolution monitor, and have previously entered the ║
  1163. ║                     ADDCRT command, by preceding the n option with the       ║
  1164. ║                     letter I.                                                ║
  1165. ║                                                                              ║
  1166. ║            Option c: (asynchronous communications controller)                ║
  1167. ║                                                                              ║
  1168. ║            MODE COM#: [baud],[parity],[databits],[stopbits],[P],[X]          ║
  1169. ║                                                                              ║
  1170. ║               #  is the number of the COM port to be addressed               ║
  1171. ║                                                                              ║
  1172. ║               baud  is the baud rate, as follows:                            ║
  1173. ║                     11    110 baud                                           ║
  1174. ║                     15    150 baud                                           ║
  1175. ║                     30    300 baud                                           ║
  1176. ║                     60    600 baud                                           ║
  1177. ║                     12    1200 baud                                          ║
  1178. ║                     24    2400 baud                                          ║
  1179. ║                     48    4800 baud                                          ║
  1180. ║                     96    9600 baud                                          ║
  1181. ║                                                                              ║
  1182. ║               parity can be N (None), O (Odd), or E (Even is default)        ║
  1183. ║                                                                              ║
  1184. ║               databits is either 7 (default) or 8                            ║
  1185. ║                                                                              ║
  1186. ║               stopbits  is either 1 (default for all except 110 baud), or 2  ║
  1187. ║               (default for 110 baud)                                         ║
  1188. ║                                                                              ║
  1189. ║               P, if included, specifies continuous retry on timeout errors   ║
  1190. ║                                                                              ║
  1191. ║               X, if included, specifies XON/XOFF control. Requires previous  ║
  1192. ║               ADRS232C command to use XON/XOFF at the RS232 port.            ║
  1193. ║                                                                              ║
  1194. ║            Option d: (redirects parallel printer output to a serial port)    ║
  1195. ║                                                                              ║
  1196. ║            MODE LPT#: = COMn:                                                ║
  1197. ║                                                                              ║
  1198. ║               # is the printer number (1 - 4)                                ║
  1199. ║                                                                              ║
  1200. ║               n is the COM port number (1 - 4)                               ║
  1201. ╟──────────────────────────────────────────────────────────────────────────────╢
  1202. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1203. ║                Contains enhanced features available only with MS DOS 3.1 and ║
  1204. ║                PC DOS 3.1 and higher.                                        ║
  1205. ╚══════════════════════════════════════════════════════════════════════════════╝
  1206. @@MORE           - Filter screen output to display one screen at a time
  1207. $$
  1208. ╔══════════════════════════════════════════════════════════════════════════════╗
  1209. ║ COMMAND  : MORE                                                              ║
  1210. ╠══════════════════════════════════════════════════════════════════════════════╣
  1211. ║ TYPE     : External                                                          ║
  1212. ╟──────────────────────────────────────────────────────────────────────────────╢
  1213. ║ SYNTAX   : MORE                                                              ║
  1214. ╟──────────────────────────────────────────────────────────────────────────────╢
  1215. ║ FUNCTION : Sends output to the console device (monitor) one screen at a time ║
  1216. ╟──────────────────────────────────────────────────────────────────────────────╢
  1217. ║ COMMENTS : This filter causes the output to the screen to be displayed one   ║
  1218. ║            screen at a time, waiting for RETURN or ENTER to be pressed to    ║
  1219. ║            display the next screen.                                          ║
  1220. ║                                                                              ║
  1221. ║            This is useful for displaying long files or directories on the    ║
  1222. ║            screen.                                                           ║
  1223. ╟──────────────────────────────────────────────────────────────────────────────╢
  1224. ║ EXAMPLE  : TYPE AFILE.TXT|MORE  displays the file AFILE.TXT one screen at    ║
  1225. ║            a time on the monitor.                                            ║
  1226. ║                                                                              ║
  1227. ║            DIR|MORE displays the directory of the default drive or directory ║
  1228. ║            one the screen one screen at a time.                              ║
  1229. ╟──────────────────────────────────────────────────────────────────────────────╢
  1230. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1231. ╚══════════════════════════════════════════════════════════════════════════════╝
  1232. @@PATH           - Establish a path to a directory
  1233. $$
  1234. ╔══════════════════════════════════════════════════════════════════════════════╗
  1235. ║ COMMAND  : PATH                                                              ║
  1236. ╠══════════════════════════════════════════════════════════════════════════════╣
  1237. ║ TYPE     : Internal                                                          ║
  1238. ╟──────────────────────────────────────────────────────────────────────────────╢
  1239. ║ SYNTAX   : PATH [d:][path][;[d:][path]]                                      ║
  1240. ╟──────────────────────────────────────────────────────────────────────────────╢
  1241. ║ FUNCTION : Causes DOS to search the specified directories for commands not   ║
  1242. ║            found in the current directory.                                   ║
  1243. ╟──────────────────────────────────────────────────────────────────────────────╢
  1244. ║ COMMENTS : The default is no path.                                           ║
  1245. ║                                                                              ║
  1246. ║            Entering PATH with no path specified displays the current path    ║
  1247. ║                                                                              ║
  1248. ║            Multiple paths can be specified in the same PATH command by       ║
  1249. ║            listing them separated with  semicolons. (;)                      ║
  1250. ╟──────────────────────────────────────────────────────────────────────────────╢
  1251. ║ EXAMPLE  : PATH\OLREF  directs DOS to search the subdirectory \OLREF for any ║
  1252. ║            external command not found in the current directory               ║
  1253. ║                                                                              ║
  1254. ║            PATH \DOS;\OLREF directs DOS to search both the DOS and OLREF     ║
  1255. ║            directories for external commands not found in the current        ║
  1256. ║            directory.                                                        ║
  1257. ╟──────────────────────────────────────────────────────────────────────────────╢
  1258. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1259. ╚══════════════════════════════════════════════════════════════════════════════╝
  1260. @@PAUSE          - Pause the execution of a Batch file
  1261. $$
  1262. ╔══════════════════════════════════════════════════════════════════════════════╗
  1263. ║ COMMAND  : PAUSE                                                             ║
  1264. ╠══════════════════════════════════════════════════════════════════════════════╣
  1265. ║ TYPE     : Internal                                                          ║
  1266. ╟──────────────────────────────────────────────────────────────────────────────╢
  1267. ║ SYNTAX   : PAUSE [comment]                                                   ║
  1268. ╟──────────────────────────────────────────────────────────────────────────────╢
  1269. ║ FUNCTION : Suspends the execution of a batch file and displays the message   ║
  1270. ║                     Strike a key when ready...                               ║
  1271. ╟──────────────────────────────────────────────────────────────────────────────╢
  1272. ║ COMMENTS : During the execution of a batch file it may be necessary to pause ║
  1273. ║            and wait for the user to perform some activity such as changing   ║
  1274. ║            disks, or reading a screen of REMarks. The PAUSE command allows   ║
  1275. ║            this to take place.                                               ║
  1276. ║                                                                              ║
  1277. ║            If, during a pause, CTRL C is pressed the batch file can be       ║
  1278. ║            terminated by answering Y to the prompt:                          ║
  1279. ║                     Terminate batch job (Y/N)?                               ║
  1280. ║                                                                              ║
  1281. ║            Optional comment can be displayed for the user at a pause in a    ║
  1282. ║            batch file by placing the comment after the PAUSE command.        ║
  1283. ╟──────────────────────────────────────────────────────────────────────────────╢
  1284. ║ EXAMPLE  : PAUSE Insert a new diskette    will echo the comment to the screen║
  1285. ║                                           during the pause.                  ║
  1286. ╟──────────────────────────────────────────────────────────────────────────────╢
  1287. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1288. ╚══════════════════════════════════════════════════════════════════════════════╝
  1289. @@PRINT          - Print file to the printer as a background process
  1290. $$
  1291. ╔══════════════════════════════════════════════════════════════════════════════╗
  1292. ║ COMMAND  : PRINT                                                             ║
  1293. ╠══════════════════════════════════════════════════════════════════════════════╣
  1294. ║ TYPE     : External                                                          ║
  1295. ╟──────────────────────────────────────────────────────────────────────────────╢
  1296. ║ SYNTAX   : PRINT [/D:(device)][/B:(size)][/U:(value)][/M:(value)][/S(value)] ║
  1297. ║                  [/Q(value)][/T][/C][/P][d:][path][filename][.ext]           ║
  1298. ╟──────────────────────────────────────────────────────────────────────────────╢
  1299. ║ FUNCTION : Prints a text file to the printer while other DOS commands are    ║
  1300. ║            processed. (background printing)                                  ║
  1301. ╟──────────────────────────────────────────────────────────────────────────────╢
  1302. ║ COMMENTS : If ADRS232C is used, the keyboard operation is not normal during  ║
  1303. ║            PRINT operation. Keyboard input is buffered and displayed in      ║
  1304. ║            groups of characters as the processor has time.                   ║
  1305. ║                                                                              ║
  1306. ║            PRINT with no options displays the print queue, without affecting ║
  1307. ║            the queue.                                                        ║
  1308. ╟──────────────────────────────────────────────────────────────────────────────╢
  1309. ║ PARAMETERS:  /T  Terminate. Deletes all files in the print queue, and sends  ║
  1310. ║                  a form feed to the printer.                                 ║
  1311. ║                                                                              ║
  1312. ║              /C  Cancel. The preceding filespec and all following filespecs  ║
  1313. ║                  are suspended in the print queue until a /P is issued.      ║
  1314. ║                                                                              ║
  1315. ║              /P  Print. Turns on the print mode. The filespec and all        ║
  1316. ║                  following files are added to the queue.                     ║
  1317. ║                                                                              ║
  1318. ║              The following parameters are allowed only the first time a      ║
  1319. ║              PRINT command is issued after starting DOS.                     ║
  1320. ║                                                                              ║
  1321. ║              /D  Specifies the print device. If not specified, a prompt will ║
  1322. ║                  be issued. Default is PRN.                                  ║
  1323. ║                                                                              ║
  1324. ║              /B  Size of the internal print buffer in bytes. Default is 512  ║
  1325. ║                                                                              ║
  1326. ║              /U  Specifies the number of clock ticks that PRINT will wait for║
  1327. ║                  the printer to become available. If this time is exceeded,  ║
  1328. ║                  PRINT gives up its time slice. Default is 1.                ║
  1329. ║                                                                              ║
  1330. ║              /M  Specifies the maximum number of clock ticks that PRINT can  ║
  1331. ║                  have to print a file. Range is 1 - 255, default is 2.       ║
  1332. ║                                                                              ║
  1333. ║              /S  Specifies the time slice. The range is 1 - 255, and the     ║
  1334. ║                  default is 8.                                               ║
  1335. ║                                                                              ║
  1336. ║              /Q  Specifies the maximum number of files allowed in the queue. ║
  1337. ║                  Range is 4 - 32, and the default is 10.                     ║
  1338. ╟──────────────────────────────────────────────────────────────────────────────╢
  1339. ║ EXAMPLE  : PRINT /T*.%TXT   empties the queue, then queues all .TXT files    ║
  1340. ╟──────────────────────────────────────────────────────────────────────────────╢
  1341. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1342. ╚══════════════════════════════════════════════════════════════════════════════╝
  1343. @@PROMPT         - Change the DOS Prompt
  1344. $$
  1345. ╔══════════════════════════════════════════════════════════════════════════════╗
  1346. ║ COMMAND  : PROMPT                                                            ║
  1347. ╠══════════════════════════════════════════════════════════════════════════════╣
  1348. ║ TYPE     : Internal                                                          ║
  1349. ╟──────────────────────────────────────────────────────────────────────────────╢
  1350. ║ SYNTAX   : PROMPT [prompt - text]                                            ║
  1351. ╟──────────────────────────────────────────────────────────────────────────────╢
  1352. ║ FUNCTION : Changes the DOS command prompt                                    ║
  1353. ╟──────────────────────────────────────────────────────────────────────────────╢
  1354. ║ COMMENTS : Entering PROMPT, with no text sets the prompt to the default DOS  ║
  1355. ║            prompt of d:>                                                     ║
  1356. ║                                                                              ║
  1357. ║            The following can be embedded in the prompt text, to provide      ║
  1358. ║            special prompts. Precede each of these with a $ to distinguish    ║
  1359. ║            them from test characters.                                        ║
  1360. ║                 Character         Prompt                                     ║
  1361. ║                     $             The '$' character                          ║
  1362. ║                     t             The current time                           ║
  1363. ║                     d             The current date                           ║
  1364. ║                     p             The current directory                      ║
  1365. ║                     v             The version number                         ║
  1366. ║                     n             The default drive                          ║
  1367. ║                     g             The '>' character                          ║
  1368. ║                     l             The '<' character                          ║
  1369. ║                     b             The '|' character                          ║
  1370. ║                     _             A CR LF sequence                           ║
  1371. ║                     s             A space                                    ║
  1372. ║                     q             The '=' character                          ║
  1373. ║                     h             A backspace                                ║
  1374. ║                     e             ASCII code 1Bh (escape)                    ║
  1375. ║                                                                              ║
  1376. ║            If you are using the ANSI escape sequence driver, then escape     ║
  1377. ║            sequences can be used in the PROMPT. For example,                 ║
  1378. ║                PROMPT $e[7m$n:$e[m  Sets the prompt in reverse video, then   ║
  1379. ║                                     returns to normal text mode.             ║
  1380. ╟──────────────────────────────────────────────────────────────────────────────╢
  1381. ║ EXAMPLE  :  PROMPT $$                 Sets the prompt to $                   ║
  1382. ║             PROMPT $g                 Sets the prompt to >                   ║
  1383. ║             PROMPT Time=$t$_Date=$d   Sets a two line prompt:                ║
  1384. ║                                         Time=(current time)                  ║
  1385. ║                                         Date=(current date)                  ║
  1386. ╟──────────────────────────────────────────────────────────────────────────────╢
  1387. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1388. ╚══════════════════════════════════════════════════════════════════════════════╝
  1389. @@RECOVER        - Recover files from a disk with bad sectors
  1390. $$
  1391. ╔══════════════════════════════════════════════════════════════════════════════╗
  1392. ║ COMMAND  : RECOVER                                                           ║
  1393. ╠══════════════════════════════════════════════════════════════════════════════╣
  1394. ║ TYPE     : External                                                          ║
  1395. ╟──────────────────────────────────────────────────────────────────────────────╢
  1396. ║ SYNTAX   : RECOVER [d:][path]{filename} [.ext]                               ║
  1397. ║                        or                                                    ║
  1398. ║            RECOVER {d:}                                                      ║
  1399. ╟──────────────────────────────────────────────────────────────────────────────╢
  1400. ║ FUNCTION : Recover a file or an entire disk that has bad sectors.            ║
  1401. ╟──────────────────────────────────────────────────────────────────────────────╢
  1402. ║ COMMENTS : If a sector on a disk is bad, you can recover the file which      ║
  1403. ║            contains that bad sector (less the segment of the file on the bad ║
  1404. ║            sector) or the entire disk (if the bad sector happens to be in the║
  1405. ║            directory).                                                       ║
  1406. ║                                                                              ║
  1407. ║            To recover a file use:                                            ║
  1408. ║               RECOVER {filename}                                             ║
  1409. ║                                                                              ║
  1410. ║            To recover a disk use:                                            ║
  1411. ║               RECOVER {d:}                                                   ║
  1412. ║                                                                              ║
  1413. ║            The bad disk sectors will be added to the bad block table, and    ║
  1414. ║            thus will not be used again by DOS.                               ║
  1415. ╟──────────────────────────────────────────────────────────────────────────────╢
  1416. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1417. ╚══════════════════════════════════════════════════════════════════════════════╝
  1418. @@REM            - Remark
  1419. $$
  1420. ╔══════════════════════════════════════════════════════════════════════════════╗
  1421. ║ COMMAND  : REM (remark)                                                      ║
  1422. ╠══════════════════════════════════════════════════════════════════════════════╣
  1423. ║ TYPE     : Internal                                                          ║
  1424. ╟──────────────────────────────────────────────────────────────────────────────╢
  1425. ║ SYNTAX   : REM [ remark ]                                                    ║
  1426. ╟──────────────────────────────────────────────────────────────────────────────╢
  1427. ║ FUNCTION : Display a remark during the execution of a batch file             ║
  1428. ╟──────────────────────────────────────────────────────────────────────────────╢
  1429. ║ COMMENTS : Legal separators between words in a remark are space, tab, comma  ║
  1430. ╟──────────────────────────────────────────────────────────────────────────────╢
  1431. ║ EXAMPLE  : REM Batch file complete                                           ║
  1432. ╟──────────────────────────────────────────────────────────────────────────────╢
  1433. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1434. ╚══════════════════════════════════════════════════════════════════════════════╝
  1435. @@REN            - Rename a file
  1436. $$
  1437. ╔══════════════════════════════════════════════════════════════════════════════╗
  1438. ║ COMMAND  : REN (rename)                                                      ║
  1439. ╠══════════════════════════════════════════════════════════════════════════════╣
  1440. ║ TYPE     : Internal                                                          ║
  1441. ╟──────────────────────────────────────────────────────────────────────────────╢
  1442. ║ SYNTAX   : REN [d:][path]{filename}[.ext] {filename}[.ext]                   ║
  1443. ╟──────────────────────────────────────────────────────────────────────────────╢
  1444. ║ FUNCTION : Changes a file name from the first filename to the second filename║
  1445. ╟──────────────────────────────────────────────────────────────────────────────╢
  1446. ║ COMMENTS : Disk and path must be give only if the file is not in the current ║
  1447. ║            directory.                                                        ║
  1448. ║                                                                              ║
  1449. ║            Wild cards can be used in both the first and second file names.   ║
  1450. ║                                                                              ║
  1451. ║            If a file exists with the same name as the new name REN will fail ║
  1452. ║            with the error message:                                           ║
  1453. ║                 Duplicate file name or file not found.                       ║
  1454. ║                                                                              ║
  1455. ║            A wild card in the second filename will result in the letters in  ║
  1456. ║            corresponding position of the first filename not to be changed    ║
  1457. ╟──────────────────────────────────────────────────────────────────────────────╢
  1458. ║ EXAMPLE  : REN FILE1.DOC FILE2.DOC   Will change the name of FILE1.DOC to    ║
  1459. ║                                      FILE2.DOC if a file by that name does   ║
  1460. ║                                      not already exist.                      ║
  1461. ║                                                                              ║
  1462. ║            REN *.TXT *.BAK           Will change the extension for all file  ║
  1463. ║                                      with extension .TXT to .BAK             ║
  1464. ║                                                                              ║
  1465. ║            REN ORLEF.* ?LR??.*       Changes any files with misspelling      ║
  1466. ║                                      ORLEF to OLREF                          ║
  1467. ╟──────────────────────────────────────────────────────────────────────────────╢
  1468. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1469. ╚══════════════════════════════════════════════════════════════════════════════╝
  1470. @@RESTORE        - Restore files from Back up
  1471. $$
  1472. ╔══════════════════════════════════════════════════════════════════════════════╗
  1473. ║ COMMAND  : RESTORE                                                           ║
  1474. ╠══════════════════════════════════════════════════════════════════════════════╣
  1475. ║ TYPE     : External                                                          ║
  1476. ╟──────────────────────────────────────────────────────────────────────────────╢
  1477. ║ SYNTAX   : RESTORE d: [d:][path][filename][.ext][parameters]                 ║
  1478. ╟──────────────────────────────────────────────────────────────────────────────╢
  1479. ║ FUNCTION : Tranfers file[s] from backup disks written by BACKUP              ║
  1480. ╟──────────────────────────────────────────────────────────────────────────────╢
  1481. ║ COMMENTS : Files backed up with BACKUP are only useable after removal from   ║
  1482. ║            the back up with RESTORE.                                         ║
  1483. ║                                                                              ║
  1484. ║            The first drive in the command line is the source or backup drive ║
  1485. ║            The second drive and filespec are the file[s] you want to restore.║
  1486. ║                                                                              ║
  1487. ║            Wildcards can be used in the file name.                           ║
  1488. ║                                                                              ║
  1489. ║            Error level codes are set on termination and these can be tested  ║
  1490. ║            in a batch file to control subsequent action in that batch file.  ║
  1491. ║            Error Codes are as follows:                                       ║
  1492. ║                        0 - Normal completion                                 ║
  1493. ║                        1 - No files were found to restore                    ║
  1494. ║                        2 - Some of the files specified could not be restored ║
  1495. ║                            because of file sharing conflicts.                ║
  1496. ║                        3 - Terminated at keyboard (CTRL BREAK or ESC)        ║
  1497. ║                        4 - Terminated because of error condition             ║
  1498. ╟──────────────────────────────────────────────────────────────────────────────╢
  1499. ║ PARAMETERS:  /S  causes the files in all subdirectories to be restored.      ║
  1500. ║                                                                              ║
  1501. ║              /P  causes a prompt for each file that has changed since the    ║
  1502. ║                  last backup, or is a read only file. You can decide for each║
  1503. ║                  file whether or not to restore it.                          ║
  1504. ║                                                                              ║
  1505. ║              /B  Causes only the files that were modified on or before the   ║
  1506. ║                  date given to be restored. (/B:mm-dd-yy).                   ║
  1507. ║                                                                              ║
  1508. ║              /A  Causes only the files that were modified on or after  the   ║
  1509. ║                  date given to be restored. (/A:mm-dd-yy).                   ║
  1510. ║                                                                              ║
  1511. ║              /E  Causes only the files that have been modified earlier than  ║
  1512. ║                  the time give to be restored. This parameter can only be    ║
  1513. ║                  used with the /B parameter. (/E:hh:mm:ss)                   ║
  1514. ║                                                                              ║
  1515. ║              /L  Causes only the files that have been modified later than    ║
  1516. ║                  the time give to be restored. This parameter can only be    ║
  1517. ║                  used with the /A parameter. (/L:hh:mm:ss)                   ║
  1518. ║                                                                              ║
  1519. ║              /M  Causes only those files that have been modified since the   ║
  1520. ║                  last back up to be restored.                                ║
  1521. ║                                                                              ║
  1522. ║              /N  Causes only the files that no longer exist on the           ║
  1523. ║                  destination disk to be restored.                            ║
  1524. ╟──────────────────────────────────────────────────────────────────────────────╢
  1525. ║ EXAMPLE  :  C>RESTORE A: C:\OLREF\*.ORD      Restores any files in the backup║
  1526. ║                       on drive a: that match the filespec *.ORD to the \OLREF║
  1527. ║                       directory on C:                                        ║
  1528. ╟──────────────────────────────────────────────────────────────────────────────╢
  1529. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1530. ║                Contains enhanced features available only with MS DOS 3.1 and ║
  1531. ║                PC DOS 3.1 and higher.                                        ║
  1532. ╚══════════════════════════════════════════════════════════════════════════════╝
  1533. @@RMDIR          - Remove a directory
  1534. $$
  1535. ╔══════════════════════════════════════════════════════════════════════════════╗
  1536. ║ COMMAND  : RMDIR                                                             ║
  1537. ╠══════════════════════════════════════════════════════════════════════════════╣
  1538. ║ TYPE     : Internal                                                          ║
  1539. ╟──────────────────────────────────────────────────────────────────────────────╢
  1540. ║ SYNTAX   : RMDIR [d:] path   or  RD [d:] path                                ║
  1541. ╟──────────────────────────────────────────────────────────────────────────────╢
  1542. ║ FUNCTION : Removes a directory from a disk directory.                        ║
  1543. ╟──────────────────────────────────────────────────────────────────────────────╢
  1544. ║ COMMENTS : Directory to be removed must be empty of all files except the     ║
  1545. ║            . and .. directory entries.                                       ║
  1546. ║                                                                              ║
  1547. ║            Use DEL to delete all files in the directory before removing the  ║
  1548. ║            directory.                                                        ║
  1549. ║                                                                              ║
  1550. ║            The directory to be removed can not be the current directory.     ║
  1551. ╟──────────────────────────────────────────────────────────────────────────────╢
  1552. ║ EXAMPLE  : DEL \OLREF\DATA\*.*                                               ║
  1553. ║            RD \OLREF\DATA         Can be executed from any directory except  ║
  1554. ║                                   \OLREF\DATA to remove that directory.      ║
  1555. ╟──────────────────────────────────────────────────────────────────────────────╢
  1556. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1557. ╚══════════════════════════════════════════════════════════════════════════════╝
  1558. @@ROMVER         - Display ROM - BIOS version information
  1559. $$
  1560. ╔══════════════════════════════════════════════════════════════════════════════╗
  1561. ║ COMMAND  : ROMVER                                                            ║
  1562. ╠══════════════════════════════════════════════════════════════════════════════╣
  1563. ║ TYPE     : External                                                          ║
  1564. ╟──────────────────────────────────────────────────────────────────────────────╢
  1565. ║ SYNTAX   : ROMVER                                                            ║
  1566. ╟──────────────────────────────────────────────────────────────────────────────╢
  1567. ║ FUNCTION : Displays the ROM BIOS version number.                             ║
  1568. ╟──────────────────────────────────────────────────────────────────────────────╢
  1569. ║ COMMENTS : For systems that support fixed disk BIOS (FXD) and hardware self -║
  1570. ║            test (HST), Romver also returns the firmware version number for   ║
  1571. ║            these ROM programs.                                               ║
  1572. ╟──────────────────────────────────────────────────────────────────────────────╢
  1573. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1574. ╚══════════════════════════════════════════════════════════════════════════════╝
  1575. @@SELECT         - Select default Country and keyboard settings
  1576. $$
  1577. ╔══════════════════════════════════════════════════════════════════════════════╗
  1578. ║ COMMAND  : SELECT                                                            ║
  1579. ╠══════════════════════════════════════════════════════════════════════════════╣
  1580. ║ TYPE     : External                                                          ║
  1581. ╟──────────────────────────────────────────────────────────────────────────────╢
  1582. ║ SYNTAX   : SELECT [country code] [keyboard code]                             ║
  1583. ╟──────────────────────────────────────────────────────────────────────────────╢
  1584. ║ FUNCTION : Creates a bootable DOS diskette which automatically loads the     ║
  1585. ║            following when booted: Keyboard, Date format, Time format,        ║
  1586. ║            currency symbol and decimal separator.                            ║
  1587. ╟──────────────────────────────────────────────────────────────────────────────╢
  1588. ║ COMMENTS : Besides making a bootable diskette using DISKCOPY, this function  ║
  1589. ║            writes a CONFIG.SYS file to invoke the COUNTRY command, which     ║
  1590. ║            establishes the data, time, and currency formats. In addition,    ║
  1591. ║            SELECT writes an AUTOEXEC.BAT file that loads the KEYB** driver.  ║
  1592. ║                                                                              ║
  1593. ║            Follow the instructions displayed on the screen when running      ║
  1594. ║            SELECT from diskettes to insert the appropriate DOS diskette      ║
  1595. ║            at the correct time.                                              ║
  1596. ╟──────────────────────────────────────────────────────────────────────────────╢
  1597. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  1598. ╚══════════════════════════════════════════════════════════════════════════════╝
  1599. @@SET            - Set environment
  1600. $$
  1601. ╔══════════════════════════════════════════════════════════════════════════════╗
  1602. ║ COMMAND  : SET (environment)                                                 ║
  1603. ╠══════════════════════════════════════════════════════════════════════════════╣
  1604. ║ TYPE     : Internal                                                          ║
  1605. ╟──────────────────────────────────────────────────────────────────────────────╢
  1606. ║ SYNTAX   : SET [string = string]                                             ║
  1607. ╟──────────────────────────────────────────────────────────────────────────────╢
  1608. ║ FUNCTION : Sets one string value as equivalent to another for use later.     ║
  1609. ╟──────────────────────────────────────────────────────────────────────────────╢
  1610. ║ COMMENTS : This can be used to set global values that can later be tested by ║
  1611. ║            applications programs. For example, SET FILE = OLREF sets a       ║
  1612. ║            variable that can be referenced in a batch file as %FILE%.        ║
  1613. ║                                                                              ║
  1614. ║            SET can also be used to set the environment. For example,         ║
  1615. ║            SET TTY = VT52 sets terminal emulation to VT52 for tty operation. ║
  1616. ╟──────────────────────────────────────────────────────────────────────────────╢
  1617. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1618. ╚══════════════════════════════════════════════════════════════════════════════╝
  1619. @@SHARE          - Initialize file sharing
  1620. $$
  1621. ╔══════════════════════════════════════════════════════════════════════════════╗
  1622. ║ COMMAND  : SHARE                                                             ║
  1623. ╠══════════════════════════════════════════════════════════════════════════════╣
  1624. ║ TYPE     : External                                                          ║
  1625. ╟──────────────────────────────────────────────────────────────────────────────╢
  1626. ║ SYNTAX   : SHARE [parameters]                                                ║
  1627. ╟──────────────────────────────────────────────────────────────────────────────╢
  1628. ║ FUNCTION : Installs the file sharing capability and defines limits.          ║
  1629. ╟──────────────────────────────────────────────────────────────────────────────╢
  1630. ║ COMMENTS : The SHARE command is only valid in multiuser or networking        ║
  1631. ║            environments. Once SHARE has been invoked, all subsequent file    ║
  1632. ║            read and write operations are filtered by DOS for sharing         ║
  1633. ║            violations before they are acted on.                              ║
  1634. ║                                                                              ║
  1635. ║            See ATTRIB to set file sharing attributes.                        ║
  1636. ╟──────────────────────────────────────────────────────────────────────────────╢
  1637. ║ PARAMETERS:  /F  Allocates file space (in bytes) for the memory area that is ║
  1638. ║                  reserved by DOS to maintain file sharing status. Space      ║
  1639. ║                  required for each file to be opened is the complete filespec║
  1640. ║                  including path, plus 11 bytes. Default is 2048 bytes.       ║
  1641. ║                                                                              ║
  1642. ║              /L  Allocates the number of file locks to be available. The     ║
  1643. ║                  default value is 20.                                        ║
  1644. ╟──────────────────────────────────────────────────────────────────────────────╢
  1645. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  1646. ╚══════════════════════════════════════════════════════════════════════════════╝
  1647. @@SHIFT          - SHIFT Batch file parameters to allow more than 10 parameters
  1648. $$
  1649. ╔══════════════════════════════════════════════════════════════════════════════╗
  1650. ║ COMMAND  : SHIFT                                                             ║
  1651. ╠══════════════════════════════════════════════════════════════════════════════╣
  1652. ║ TYPE     : Internal                                                          ║
  1653. ╟──────────────────────────────────────────────────────────────────────────────╢
  1654. ║ SYNTAX   : SHIFT                                                             ║
  1655. ╟──────────────────────────────────────────────────────────────────────────────╢
  1656. ║ FUNCTION : Allows more than 10 replaceable parameters (variables) in command ║
  1657. ║            line for batch file processing                                    ║
  1658. ╟──────────────────────────────────────────────────────────────────────────────╢
  1659. ║ COMMENTS : Command line parameters for batch files are normally limited to   ║
  1660. ║            10 placeholders (%0 through %9). If more than 10 are needed, the  ║
  1661. ║            SHIFT command can be used to shift all parameters down one, and to║
  1662. ║            load the next parameter into what had been the highest used value.║
  1663. ║            The lowest value parameter is thus lost.                          ║
  1664. ╟──────────────────────────────────────────────────────────────────────────────╢
  1665. ║ EXAMPLE  :  If parameters are: %0-OLREF   %1-ON  %2-LINE   %3-REFERENCE      ║
  1666. ║             %4 - %9 unassigned, after a shift command the parameters will    ║
  1667. ║             be: %0-ON  %1-LINE  %2-REFERENCE %3 - %9 unassigned.             ║
  1668. ╟──────────────────────────────────────────────────────────────────────────────╢
  1669. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1670. ╚══════════════════════════════════════════════════════════════════════════════╝
  1671. @@SORT           - Sort lines in a file
  1672. $$
  1673. ╔══════════════════════════════════════════════════════════════════════════════╗
  1674. ║ COMMAND  : SORT                                                              ║
  1675. ╠══════════════════════════════════════════════════════════════════════════════╣
  1676. ║ TYPE     : External                                                          ║
  1677. ╟──────────────────────────────────────────────────────────────────────────────╢
  1678. ║ SYNTAX   : SORT [parameters]                                                 ║
  1679. ╟──────────────────────────────────────────────────────────────────────────────╢
  1680. ║ FUNCTION : Reads input, sorts the data, then outputs the sorted data to the  ║
  1681. ║            screen or to a file.                                              ║
  1682. ╟──────────────────────────────────────────────────────────────────────────────╢
  1683. ║ COMMENTS : Sort can be used to sort lines in a file alphabetically. The      ║
  1684. ║            starting column for the sort can be any column.                   ║
  1685. ║                                                                              ║
  1686. ║            Can be used as a filter for output to the console. See second ex. ║
  1687. ╟──────────────────────────────────────────────────────────────────────────────╢
  1688. ║ PARAMETERS:  /R  Reverses the order of the sort (Z to A rather than A to Z)  ║
  1689. ║                                                                              ║
  1690. ║              /+n Specifies the starting column for the sort. If this switch  ║
  1691. ║                  is not specified the default is column one.                 ║
  1692. ╟──────────────────────────────────────────────────────────────────────────────╢
  1693. ║ EXAMPLE  : SORT /+5 NOTSORT.TXT SORTED.TXT  Sorts the file NOTSORT.TXT       ║
  1694. ║            starting at the 5th column, and writes the output in the file     ║
  1695. ║            SORTED.TXT.                                                       ║
  1696. ║            In this case, the line                                            ║
  1697. ║               99Z APPLE        will be placed before the line                ║
  1698. ║               01A BANANA                                                     ║
  1699. ║                                                                              ║
  1700. ║            DIR |SORT  filters the directory, sorting it before displaying the║
  1701. ║                       directory on the screen. The file names will appear in ║
  1702. ║                       alphabetical order.                                    ║
  1703. ╟──────────────────────────────────────────────────────────────────────────────╢
  1704. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1705. ╚══════════════════════════════════════════════════════════════════════════════╝
  1706. @@SUBST          - Substitue a drive name for a path name
  1707. $$
  1708. ╔══════════════════════════════════════════════════════════════════════════════╗
  1709. ║ COMMAND  : SUBST                                                             ║
  1710. ╠══════════════════════════════════════════════════════════════════════════════╣
  1711. ║ TYPE     : External                                                          ║
  1712. ╟──────────────────────────────────────────────────────────────────────────────╢
  1713. ║ SYNTAX   : SUBST [drive] [pathname] [parameter]                              ║
  1714. ╟──────────────────────────────────────────────────────────────────────────────╢
  1715. ║ FUNCTION : Substitutes a drive name as an alias for a path name.             ║
  1716. ╟──────────────────────────────────────────────────────────────────────────────╢
  1717. ║ COMMENTS : Allows referencing of a pathname as if it were a physical drive.  ║
  1718. ║                                                                              ║
  1719. ║            The drive letter designation chosen must not already be assigned  ║
  1720. ║            to an existing drive.                                             ║
  1721. ║                                                                              ║
  1722. ║            SUBST can be used as a shorthand for long path designations. For  ║
  1723. ║            example, SUBST E: \UTILITIES\OLREF\DATA can be used to allow the  ║
  1724. ║            path to be refered to as E:, eliminating typing the explicit path.║
  1725. ║                                                                              ║
  1726. ║            Use the command LASTDRIVE in your CONFIG.SYS if the SUBST command ║
  1727. ║            results in an 'invalid parameter' error for drive letters greater ║
  1728. ║            than E:                                                           ║
  1729. ║                                                                              ║
  1730. ║            Do not use ASSIGN, BACKUP, DISKCOMP, DISKCOPY, FDISK, FORMAT,     ║
  1731. ║            JOIN, LABEL, or RESTORE commands with a drive letter created by   ║
  1732. ║            a SUBST command.                                                  ║
  1733. ╟──────────────────────────────────────────────────────────────────────────────╢
  1734. ║ PARAMETERS: /d  Deletes an alias created with the SUBST command.             ║
  1735. ╟──────────────────────────────────────────────────────────────────────────────╢
  1736. ║ COMPATABILITY: MS DOS 3.1 and higher, PC DOS 3.1 and higher                  ║
  1737. ╚══════════════════════════════════════════════════════════════════════════════╝
  1738. @@SYS            - Write system files on a diskette
  1739. $$
  1740. ╔══════════════════════════════════════════════════════════════════════════════╗
  1741. ║ COMMAND  : SYS                                                               ║
  1742. ╠══════════════════════════════════════════════════════════════════════════════╣
  1743. ║ TYPE     : External                                                          ║
  1744. ╟──────────────────────────────────────────────────────────────────────────────╢
  1745. ║ SYNTAX   : SYS {d:}                                                          ║
  1746. ╟──────────────────────────────────────────────────────────────────────────────╢
  1747. ║ FUNCTION : Transfers the three DOS system files to the disk specified in the ║
  1748. ║            command line.                                                     ║
  1749. ╟──────────────────────────────────────────────────────────────────────────────╢
  1750. ║ COMMENTS : A disk may only be modified with SYS if it has been formatted and ║
  1751. ║            has no files and no label, or has been formatted with the /S or   ║
  1752. ║            /B parameters.                                                    ║
  1753. ║                                                                              ║
  1754. ║            If a disk that has been formatted with /S or /B is to have a new  ║
  1755. ║            copy of DOS written to it with SYS, the old and new system files  ║
  1756. ║            must be the same size. Therefore, a diskette formatted as bootable║
  1757. ║            with MS DOS 2.11 can not be made a MS DOS 3.1 disk with the SYS   ║
  1758. ║            command.                                                          ║
  1759. ║                                                                              ║
  1760. ║            SYS can not be used on a network drive.                           ║
  1761. ╟──────────────────────────────────────────────────────────────────────────────╢
  1762. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1763. ╚══════════════════════════════════════════════════════════════════════════════╝
  1764. @@TIME           - Display or set the system time
  1765. $$
  1766. ╔══════════════════════════════════════════════════════════════════════════════╗
  1767. ║ COMMAND  : TIME                                                              ║
  1768. ╠══════════════════════════════════════════════════════════════════════════════╣
  1769. ║ TYPE     : Internal                                                          ║
  1770. ╟──────────────────────────────────────────────────────────────────────────────╢
  1771. ║ SYNTAX   : TIME [hh:mm:ss.cc]                                                ║
  1772. ╟──────────────────────────────────────────────────────────────────────────────╢
  1773. ║ FUNCTION : Display or set the time of the system clock.                      ║
  1774. ╟──────────────────────────────────────────────────────────────────────────────╢
  1775. ║ COMMENTS : If TIME is entered without any parameters, the current time is    ║
  1776. ║            displayed. Enter the new time and press RETURN to change the time,║
  1777. ║            or press RETURN to return to DOS without changing the time.       ║
  1778. ║                                                                              ║
  1779. ║            The format for time is hh:mm:ss.cc, where all characters must be  ║
  1780. ║            numeric. Seconds and hundredths of seconds are optional, as are   ║
  1781. ║            leading zeros                                                     ║
  1782. ╟──────────────────────────────────────────────────────────────────────────────╢
  1783. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1784. ╚══════════════════════════════════════════════════════════════════════════════╝
  1785. @@TREE           - Display directory tree structure
  1786. $$
  1787. ╔══════════════════════════════════════════════════════════════════════════════╗
  1788. ║ COMMAND  : TREE                                                              ║
  1789. ╠══════════════════════════════════════════════════════════════════════════════╣
  1790. ║ TYPE     : External                                                          ║
  1791. ╟──────────────────────────────────────────────────────────────────────────────╢
  1792. ║ SYNTAX   : TREE [d:] [parameter] [>filename]                                 ║
  1793. ╟──────────────────────────────────────────────────────────────────────────────╢
  1794. ║ FUNCTION : Display all directory paths found on the specified drive.         ║
  1795. ╟──────────────────────────────────────────────────────────────────────────────╢
  1796. ║ COMMENTS : If [>filename] is given, the output from TREE is redirected from  ║
  1797. ║            the console to the file specified.                                ║
  1798. ╟──────────────────────────────────────────────────────────────────────────────╢
  1799. ║ PARAMETERS: /F specifies that all files found in each of the directories     ║
  1800. ║             be listed.                                                       ║
  1801. ╟──────────────────────────────────────────────────────────────────────────────╢
  1802. ║ EXAMPLE  : TREE C:/F >TREE.LST lists each directory, and all the files in    ║
  1803. ║            each directory to the file TREE.LST.                              ║
  1804. ╟──────────────────────────────────────────────────────────────────────────────╢
  1805. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1806. ╚══════════════════════════════════════════════════════════════════════════════╝
  1807. @@TYPE           - Display a file to the screen
  1808. $$
  1809. ╔══════════════════════════════════════════════════════════════════════════════╗
  1810. ║ COMMAND  : TYPE                                                              ║
  1811. ╠══════════════════════════════════════════════════════════════════════════════╣
  1812. ║ TYPE     : Internal                                                          ║
  1813. ╟──────────────────────────────────────────────────────────────────────────────╢
  1814. ║ SYNTAX   : TYPE [d:][path][filename][.ext]                                   ║
  1815. ╟──────────────────────────────────────────────────────────────────────────────╢
  1816. ║ FUNCTION : Displays the contents of a file to the screen.                    ║
  1817. ╟──────────────────────────────────────────────────────────────────────────────╢
  1818. ║ COMMENTS : Wild cards can not be used in the file specification for the TYPE ║
  1819. ║            command.                                                          ║
  1820. ║                                                                              ║
  1821. ║            If the file to be typed is a binary file (contains non - ASCII    ║
  1822. ║            characters), the display may be unreadable, and the bell may sound║
  1823. ║            as the file is typed.                                             ║
  1824. ╟──────────────────────────────────────────────────────────────────────────────╢
  1825. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1826. ╚══════════════════════════════════════════════════════════════════════════════╝
  1827. @@VER            - Display DOS version number
  1828. $$
  1829. ╔══════════════════════════════════════════════════════════════════════════════╗
  1830. ║ COMMAND  : VER                                                               ║
  1831. ╠══════════════════════════════════════════════════════════════════════════════╣
  1832. ║ TYPE     : Internal                                                          ║
  1833. ╟──────────────────────────────────────────────────────────────────────────────╢
  1834. ║ SYNTAX   : VER                                                               ║
  1835. ╟──────────────────────────────────────────────────────────────────────────────╢
  1836. ║ FUNCTION : Displays the DOS version number                                   ║
  1837. ╟──────────────────────────────────────────────────────────────────────────────╢
  1838. ║ COMMENTS : Typing VER returns the version of DOS under which the computer    ║
  1839. ║            is booted.                                                        ║
  1840. ╟──────────────────────────────────────────────────────────────────────────────╢
  1841. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1842. ╚══════════════════════════════════════════════════════════════════════════════╝
  1843. @@VERIFY         - Enable/Disable disk write verification
  1844. $$
  1845. ╔══════════════════════════════════════════════════════════════════════════════╗
  1846. ║ COMMAND  : VERIFY                                                            ║
  1847. ╠══════════════════════════════════════════════════════════════════════════════╣
  1848. ║ TYPE     : Internal                                                          ║
  1849. ╟──────────────────────────────────────────────────────────────────────────────╢
  1850. ║ SYNTAX   : VERIFY [ON / OFF]                                                 ║
  1851. ╟──────────────────────────────────────────────────────────────────────────────╢
  1852. ║ FUNCTION : Toggles the verify function when writing to a disk.               ║
  1853. ╟──────────────────────────────────────────────────────────────────────────────╢
  1854. ║ COMMENTS : Performs the same function as the /V switch in the COPY command   ║
  1855. ║            for all disk write commands.                                      ║
  1856. ║                                                                              ║
  1857. ║            Checks for bad sectors and other disk errors.                     ║
  1858. ║                                                                              ║
  1859. ║            Disk write times are slower with VERIFY set on.                   ║
  1860. ║                                                                              ║
  1861. ║            VERIFY ON is cancelled by the command VERIFY OFF.                 ║
  1862. ╟──────────────────────────────────────────────────────────────────────────────╢
  1863. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1864. ╚══════════════════════════════════════════════════════════════════════════════╝
  1865. @@VOL            - Display disk volume label
  1866. $$
  1867. ╔══════════════════════════════════════════════════════════════════════════════╗
  1868. ║ COMMAND  : VOL (volume)                                                      ║
  1869. ╠══════════════════════════════════════════════════════════════════════════════╣
  1870. ║ TYPE     : Internal                                                          ║
  1871. ╟──────────────────────────────────────────────────────────────────────────────╢
  1872. ║ SYNTAX   : VOL [d:]                                                          ║
  1873. ╟──────────────────────────────────────────────────────────────────────────────╢
  1874. ║ FUNCTION : Display a disk volume label (if any)                              ║
  1875. ╟──────────────────────────────────────────────────────────────────────────────╢
  1876. ║ COMMENTS : If specified disk does not have a volume label, the message       ║
  1877. ║            Volume in drive d has no label.                                   ║
  1878. ║                                                                              ║
  1879. ║            If drive is not given the default is the current drive.           ║
  1880. ╟──────────────────────────────────────────────────────────────────────────────╢
  1881. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1882. ╚══════════════════════════════════════════════════════════════════════════════╝
  1883. @@XFORMAT        - Format a second (or higher) DOS patition
  1884. $$
  1885. ╔══════════════════════════════════════════════════════════════════════════════╗
  1886. ║ COMMAND  : XFORMAT                                                           ║
  1887. ╠══════════════════════════════════════════════════════════════════════════════╣
  1888. ║ TYPE     : External                                                          ║
  1889. ╟──────────────────────────────────────────────────────────────────────────────╢
  1890. ║ SYNTAX   : XFORMAT [d:][/V]                                                  ║
  1891. ╟──────────────────────────────────────────────────────────────────────────────╢
  1892. ║ FUNCTION : Format the second DOS partition of a fixed disk drive.            ║
  1893. ╟──────────────────────────────────────────────────────────────────────────────╢
  1894. ║ COMMENTS : During format, the disk is analyzed for any errors.               ║
  1895. ║                                                                              ║
  1896. ║            After the command XFORMAT [d:] is issued, the message             ║
  1897. ║              Ver x.xx                                                        ║
  1898. ║              Press any key to begin formatting d:                            ║
  1899. ║            is displayed. After any key is pressed, the message               ║
  1900. ║              Formatting..                                                    ║
  1901. ║            indicates that formatting is in progress                          ║
  1902. ║                                                                              ║
  1903. ║            If the /V parameter has been entered, before the formatting       ║
  1904. ║            begins the user is prompted for a volume label.                   ║
  1905. ╟──────────────────────────────────────────────────────────────────────────────╢
  1906. ║ PARAMETERS:  /V instructs DOS to prompt for a volume label. Valid labels     ║
  1907. ║                 are any name fron 1 to 11 characters.                        ║
  1908. ╟──────────────────────────────────────────────────────────────────────────────╢
  1909. ║ EXAMPLE  : XFORMAT D:/V formats drive partition D:, prompting for a volume   ║
  1910. ║                         label.                                               ║
  1911. ╟──────────────────────────────────────────────────────────────────────────────╢
  1912. ║ COMPATABILITY: MS DOS 2.11 and higher, PC DOS 2.1 and higher                 ║
  1913. ╚══════════════════════════════════════════════════════════════════════════════╝
  1914. 
  1915.